aboutsummaryrefslogtreecommitdiffstats
path: root/themes
diff options
context:
space:
mode:
Diffstat (limited to 'themes')
-rw-r--r--themes/smartpocket/js/smartpocket.js2
1 files changed, 1 insertions, 1 deletions
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 '<div class="ps-toolbar-close"><div class="ps-toolbar-content"></div></di
}(window, window.jQuery, window.Code.PhotoSwipe));
function set_thumbnails_width() {
- var dpr = window.devicePixelRatio>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+'%');