Changeset 25938
- Timestamp:
- Dec 13, 2013, 9:42:05 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/themes/smartpocket/js/smartpocket.js
r24514 r25938 34 34 35 35 function set_thumbnails_width() { 36 var dpr = window.devicePixelRatio>1 ? window.devicePixelRatio : 136 var dpr = 1 //window.devicePixelRatio>1 ? window.devicePixelRatio : 1 37 37 , nb_thumbs = Math.max(2, Math.ceil($('.thumbnails').width() / (var_thumb_width/dpr+2*5))) 38 38 , width = Math.floor(1000000 / nb_thumbs) / 10000;
Note: See TracChangeset
for help on using the changeset viewer.