X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_source%2Fplugins%2Fautogrow%2Fplugin.js;h=d6c4697a96de384e77dbdc8bda9cb7f5ca248b45;hp=bc23b31892f1e2eeeedbc5a82c6b3984fb231a18;hb=4e90e78dc97789709ee7404359a5517540c27553;hpb=8f6c203fdaa543c3bca40baea6ae4ddcdf1a77f5 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;