Ignore:
Timestamp:
Mar 1, 2012, 5:26:55 PM (12 years ago)
Author:
patdenice
Message:

Multisize
Bug fixed if $confderivative_url_style != 0
Create a pwg_ajax_thumbnails_loader function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/themes/default/js/thumbnails.loader.js

    r13444 r13452  
    2222}
    2323
    24 jQuery('img').each(function() {
    25   var img = jQuery(this);
    26   if (typeof img.data('src') != 'undefined') {
    27     add_thumbnail_to_queue(img, 0);
    28   }
    29 });
     24function pwg_ajax_thumbnails_loader() {
     25  jQuery('img[data-src]').each(function() {
     26    add_thumbnail_to_queue(jQuery(this), 0);
     27  });
     28}
     29
     30jQuery(document).ready(pwg_ajax_thumbnails_loader);
Note: See TracChangeset for help on using the changeset viewer.