MINOR Reverted conditional redraw of preview panel introduced in a1e9c0f4, too unstable

This commit is contained in:
Ingo Schommer 2012-02-17 15:58:15 +01:00
parent bb7c128025
commit 743a26be05

View File

@ -99,8 +99,7 @@ jQuery.noConflict();
this.find('.cms-edit-form[data-layout-type]').redraw();
// Only redraw preview if its visible
var preview = this.find('.cms-preview');
if(preview.is(':visible')) preview.redraw();
this.find('.cms-preview').redraw();
// Only redraw the content area if its not the same as the edit form
var contentEl = this.find('.cms-content');