Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

MINOR Don't invoke layout() in onmatch() for cms-preview, as it cause…

…s a gap above the menu/logo div for some reason. It's also unnecessary processing, since the preview is always hidden by default, and layout() will be triggered through redraw() when required (e.g. preview panel expansion)
  • Loading branch information...
commit 7c589f07dc654cb0dbf3fb150f5d6a49d1e59a1f 1 parent d23e8ec
@chillu chillu authored
Showing with 0 additions and 2 deletions.
  1. +0 −2  admin/javascript/LeftAndMain.Preview.js
2  admin/javascript/LeftAndMain.Preview.js
@@ -76,8 +76,6 @@
if(!self.hasClass('is-collapsed')) self.collapse();
- this.layout({type: 'border'});
if(this.hasClass('is-expanded')) this.expand();
else this.collapse();'cms-preview-initialized', true);
Please sign in to comment.
Something went wrong with that request. Please try again.