From 8c6f57e5f651395a984a0094338d2b913175aeec Mon Sep 17 00:00:00 2001 From: rvelices Date: Sun, 29 Dec 2013 21:23:57 +0000 Subject: smart pocket new thumbnail display git-svn-id: http://piwigo.org/svn/trunk@26349 68402e56-0260-453c-a942-63ccdbb3a9ee --- themes/smartpocket/js/smartpocket.js | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'themes/smartpocket/js/smartpocket.js') diff --git a/themes/smartpocket/js/smartpocket.js b/themes/smartpocket/js/smartpocket.js index 8f0452672..fffb993fd 100644 --- a/themes/smartpocket/js/smartpocket.js +++ b/themes/smartpocket/js/smartpocket.js @@ -27,15 +27,7 @@ return '
1 ? window.devicePixelRatio : 1 - , nb_thumbs = Math.max(2, Math.ceil($('.thumbnails').width() / (var_thumb_width/dpr+2*5))) - , width = Math.floor(1000000 / nb_thumbs) / 10000; - $('.thumbnails li').css('width', width+'%'); -} - -- cgit v1.2.3