improve thumbnails creation performances in code

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

No files matched your search

+1 -1
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;
}