fix typo and do not do anything on resize if not fullscreen
This commit is contained in:
parent
368ad332a0
commit
2dfb4d0c17
@ -172,7 +172,7 @@
|
||||
$('#edit-pane-tab').click(function (ev) {
|
||||
setTimeout(function() {
|
||||
window.editor.focus();
|
||||
if($('main').hasClass('.fullscreen')) {
|
||||
if($('main').hasClass('fullscreen')) {
|
||||
adjustFullscreenEditorHeight();
|
||||
}
|
||||
else {
|
||||
@ -473,6 +473,8 @@
|
||||
});
|
||||
|
||||
$(window).resize(function () {
|
||||
adjustFullscreenEditorHeight();
|
||||
if($('main').hasClass('fullscreen')) {
|
||||
adjustFullscreenEditorHeight();
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user