improve thumbnails creation performances in code

This commit is contained in:
yflory
2018-01-09 15:25:11 +01:00
parent 77dcc1c705
commit ecd8ef6418
2 changed files with 5 additions and 3 deletions

View File

@@ -357,7 +357,7 @@ define([
getContainer: getThumbnailContainer,
filter: function (el, before) {
if (before) {
$(el).parents().css('overflow', 'visible');
//$(el).parents().css('overflow', 'visible');
$(el).css('max-height', Math.max(600, $(el).width()) + 'px');
return;
}