Changeset 25938


Ignore:
Timestamp:
Dec 13, 2013, 9:42:05 PM (7 years ago)
Author:
rvelices
Message:

revert smartpocket retina aware thumbs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/themes/smartpocket/js/smartpocket.js

    r24514 r25938  
    3434
    3535function set_thumbnails_width() {
    36         var dpr = window.devicePixelRatio>1 ? window.devicePixelRatio : 1
     36        var dpr = 1 //window.devicePixelRatio>1 ? window.devicePixelRatio : 1
    3737                , nb_thumbs = Math.max(2, Math.ceil($('.thumbnails').width() / (var_thumb_width/dpr+2*5)))
    3838                , width = Math.floor(1000000 / nb_thumbs) / 10000;
Note: See TracChangeset for help on using the changeset viewer.