JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.4.2
[ckeditor.git] / _source / skins / v2 / skin.js
index f7d5060..808a79c 100644 (file)
@@ -65,11 +65,11 @@ CKEDITOR.skins.add( 'v2', (function()
 \r
                                                // ml\r
                                                el = innerDialog.getChild( 4 );\r
-                                               el.setStyle( 'height', ( body.$.offsetHeight - 31 - 14 ) + 'px' );\r
+                                               el.setStyle( 'height', ( height + body.getChild(0).$.offsetHeight ) + 'px' );\r
 \r
                                                // mr\r
                                                el = innerDialog.getChild( 5 );\r
-                                               el.setStyle( 'height', ( body.$.offsetHeight - 31 - 14 ) + 'px' );\r
+                                               el.setStyle( 'height', ( height + body.getChild(0).$.offsetHeight ) + 'px' );\r
                                        },\r
                                        100 );\r
                        });\r