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 "Remove comments literally documenting unit tests being unit tests"
[lhc/web/wiklou.git]
/
resources
/
src
/
mediawiki.page.ready.js
diff --git
a/resources/src/mediawiki.page.ready.js
b/resources/src/mediawiki.page.ready.js
index
e147664
..
12009d1
100644
(file)
--- a/
resources/src/mediawiki.page.ready.js
+++ b/
resources/src/mediawiki.page.ready.js
@@
-1,4
+1,4
@@
-( function (
mw, $
) {
+( function () {
mw.hook( 'wikipage.content' ).add( function ( $content ) {
var $sortable, $collapsible;
mw.hook( 'wikipage.content' ).add( function ( $content ) {
var $sortable, $collapsible;
@@
-49,10
+49,10
@@
mw.hook( 'wikipage.categories' ).fire( $nodes );
}
mw.hook( 'wikipage.categories' ).fire( $nodes );
}
- $( '#t-print a' ).
click(
function ( e ) {
+ $( '#t-print a' ).
on( 'click',
function ( e ) {
window.print();
e.preventDefault();
} );
} );
window.print();
e.preventDefault();
} );
} );
-}(
mediaWiki, jQuery
) );
+}() );