X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/recherche.php?a=blobdiff_plain;f=resources%2Fjquery%2Fjquery.makeCollapsible.js;h=33f875210b5854cbcb27f364b0929c82a37ee4da;hb=29719f846b8887e1190ddf85125387c079f9539b;hp=77f2639c5c4ae531f98972fd67c4feb7f58d45af;hpb=176119237607de5ed6659296b08209270b26b84a;p=lhc%2Fweb%2Fwiklou.git diff --git a/resources/jquery/jquery.makeCollapsible.js b/resources/jquery/jquery.makeCollapsible.js index 77f2639c5c..33f875210b 100644 --- a/resources/jquery/jquery.makeCollapsible.js +++ b/resources/jquery/jquery.makeCollapsible.js @@ -19,7 +19,7 @@ $.fn.makeCollapsible = function () { return this.each(function () { - var _fn = 'jquery.makeCollapsible> '; + var lpx = 'jquery.makeCollapsible> '; // Define reused variables and functions var $toggle, @@ -248,7 +248,7 @@ $.fn.makeCollapsible = function () { var thatId = $that.attr( 'id' ), $customTogglers = $( '.' + thatId.replace( 'mw-customcollapsible', 'mw-customtoggle' ) ); - mw.log( _fn + 'Found custom collapsible: #' + thatId ); + mw.log( lpx + 'Found custom collapsible: #' + thatId ); // Double check that there is actually a customtoggle link if ( $customTogglers.length ) { @@ -256,7 +256,7 @@ $.fn.makeCollapsible = function () { toggleLinkCustom( $(this), e, $that ); } ); } else { - mw.log( _fn + '#' + thatId + ': Missing toggler!' ); + mw.log( lpx + '#' + thatId + ': Missing toggler!' ); } // Initial state