source: extensions/Slide/js/plugin/SlideMyPiwiShop.js @ 27741

Last change on this file since 27741 was 27741, checked in by Miklfe, 10 years ago

amélioration de la compatibilité avec MyPiwiShop

File size: 557 bytes
Line 
1/*
2 * SlideMyPiwiShop - v1.0 - 01-01-2014
3 * plugin for Slide and GThumb+
4 * Original by P@t for GThumb+ : http://fr.piwigo.org/ext/extension_view.php?eid=591
5 * Modified by Miklfe : http://piwitheme.fr/
6 *
7 */
8 
9function _MyPiwiShop(){
10        var $layerShow  = $('body').data('layerShow');
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');
15                });
16        }
17};
Note: See TracBrowser for help on using the repository browser.