dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Adjust margin of wpSummary elements per move of summary box."
[lhc/web/wiklou.git]
/
resources
/
jquery
/
jquery.makeCollapsible.js
diff --git
a/resources/jquery/jquery.makeCollapsible.js
b/resources/jquery/jquery.makeCollapsible.js
index
77f2639
..
33f8752
100644
(file)
--- a/
resources/jquery/jquery.makeCollapsible.js
+++ b/
resources/jquery/jquery.makeCollapsible.js
@@
-19,7
+19,7
@@
$.fn.makeCollapsible = function () {
return this.each(function () {
$.fn.makeCollapsible = function () {
return this.each(function () {
- var
_fn
= 'jquery.makeCollapsible> ';
+ var
lpx
= 'jquery.makeCollapsible> ';
// Define reused variables and functions
var $toggle,
// 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' ) );
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 ) {
// Double check that there is actually a customtoggle link
if ( $customTogglers.length ) {
@@
-256,7
+256,7
@@
$.fn.makeCollapsible = function () {
toggleLinkCustom( $(this), e, $that );
} );
} else {
toggleLinkCustom( $(this), e, $that );
} );
} else {
- mw.log(
_fn
+ '#' + thatId + ': Missing toggler!' );
+ mw.log(
lpx
+ '#' + thatId + ': Missing toggler!' );
}
// Initial state
}
// Initial state