JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.5.3
[ckeditor.git] / _source / plugins / autogrow / plugin.js
index bc23b31..d6c4697 100644 (file)
@@ -9,6 +9,8 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
 (function(){\r
        var resizeEditor = function( editor )\r
        {\r
+               if ( !editor.window )\r
+                       return;\r
                var doc = editor.document,\r
                        currentHeight = editor.window.getViewPaneSize().height,\r
                        newHeight;\r