X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Fautogrow%2Fplugin.js;h=d6c4697a96de384e77dbdc8bda9cb7f5ca248b45;hb=4e90e78dc97789709ee7404359a5517540c27553;hp=bc23b31892f1e2eeeedbc5a82c6b3984fb231a18;hpb=48b1db88210b4160dce439c6e3e32e14af8c106b;p=ckeditor.git diff --git a/_source/plugins/autogrow/plugin.js b/_source/plugins/autogrow/plugin.js index bc23b31..d6c4697 100644 --- a/_source/plugins/autogrow/plugin.js +++ b/_source/plugins/autogrow/plugin.js @@ -9,6 +9,8 @@ For licensing, see LICENSE.html or http://ckeditor.com/license (function(){ var resizeEditor = function( editor ) { + if ( !editor.window ) + return; var doc = editor.document, currentHeight = editor.window.getViewPaneSize().height, newHeight;