Ignore:
Timestamp:
Mar 12, 2014, 11:24:25 PM (10 years ago)
Author:
Miklfe
Message:

amélioration de la compatibilité avec MyPiwiShop

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Slide/js/plugin/SlideMyPiwiShop.js

    r27643 r27741  
    99function _MyPiwiShop(){
    1010        var $layerShow  = $('body').data('layerShow');
    11         if($('#the_page', $layerShow).hasClass('thePicturePage')) {
    12 
    13                         $.getScript('./plugins/MyPiwiShop/template/js/MyPiwiShop.js', function(){
    14                                 $('body').removeClass('MyPiwiShop').addClass('MyPiwiShopReady');
    15 
     11       
     12        if($('#the_page', $layerShow).hasClass('thePicturePage') && $layerShow.attr('id')!='layer-0') {
     13                $.getScript('./plugins/MyPiwiShop/template/js/MyPiwiShop.js', function(){
     14                        $('body').removeClass('MyPiwiShop').addClass('MyPiwiShopReady');
    1615                });
    1716        }
Note: See TracChangeset for help on using the changeset viewer.