From 2f550723dc2a8a0280a2de0aecddff3dda21a91c Mon Sep 17 00:00:00 2001 From: rvelices Date: Fri, 13 Dec 2013 20:42:05 +0000 Subject: revert smartpocket retina aware thumbs git-svn-id: http://piwigo.org/svn/trunk@25938 68402e56-0260-453c-a942-63ccdbb3a9ee --- themes/smartpocket/js/smartpocket.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'themes/smartpocket') diff --git a/themes/smartpocket/js/smartpocket.js b/themes/smartpocket/js/smartpocket.js index 436adf205..8f0452672 100644 --- a/themes/smartpocket/js/smartpocket.js +++ b/themes/smartpocket/js/smartpocket.js @@ -33,7 +33,7 @@ return '
1 ? window.devicePixelRatio : 1 + var dpr = 1 //window.devicePixelRatio>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