Plugin Directory

Changeset 188248


Ignore:
Timestamp:
12/30/2009 08:08:56 PM (16 years ago)
Author:
malcalevak
Message:

Additional Extensions Support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-slimbox2/trunk/javascript/slimbox2_autoload.js.php

    r112317 r188248  
    1616if ($options->get_option('autoload') == 'on')
    1717$autoLoad = '$("a[href]").filter(function() {
    18         return /\.(jpg|png|gif)(\?[\d\w=&]*)?$/i.test(this.href);
     18        return /\.(jpeg|bmp|jpg|png|gif)(\?[\d\w=&]*)?$/i.test(this.href);
    1919    }).slimbox(options, null, function(el) {
    2020        return (this == el) || ($(this).parents("div.post, div#page")[0] && ($(this).parents("div.post, div#page")[0] == $(el).parents("div.post, div#page")[0]));
Note: See TracChangeset for help on using the changeset viewer.