Create thumbnails only when the tab is not focused
This commit is contained in:
@@ -348,13 +348,11 @@ define([
|
||||
getContainer: getThumbnailContainer,
|
||||
filter: function (el, before) {
|
||||
if (before) {
|
||||
// Overflow visible to the parents makes it look better but
|
||||
// it creates chaos in the editbale area
|
||||
//$(el).parents().css('overflow', 'visible');
|
||||
$(el).parents().css('overflow', 'visible');
|
||||
$(el).css('max-height', Math.max(600, $(el).width()) + 'px');
|
||||
return;
|
||||
}
|
||||
//$(el).parents().css('overflow', '');
|
||||
$(el).parents().css('overflow', '');
|
||||
$(el).css('max-height', '');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user