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
SECURITY: resources: Patch jQuery 3.3.1 for CVE-2019-11358
[lhc/web/wiklou.git]
/
resources
/
src
/
mediawiki.checkboxtoggle.js
diff --git
a/resources/src/mediawiki.checkboxtoggle.js
b/resources/src/mediawiki.checkboxtoggle.js
index
76bc86c
..
f0fbdb6
100644
(file)
--- a/
resources/src/mediawiki.checkboxtoggle.js
+++ b/
resources/src/mediawiki.checkboxtoggle.js
@@
-9,7
+9,7
@@
* Jeroen De Dauw <jeroendedauw at gmail dot com>
*/
* Jeroen De Dauw <jeroendedauw at gmail dot com>
*/
-( function (
$
) {
+( function () {
'use strict';
$( function () {
'use strict';
$( function () {
@@
-21,13
+21,13
@@
$checkboxes.prop( 'checked', check );
}
$checkboxes.prop( 'checked', check );
}
- $( '.mw-checkbox-all' ).
click(
function () {
+ $( '.mw-checkbox-all' ).
on( 'click',
function () {
selectAll( true );
} );
selectAll( true );
} );
- $( '.mw-checkbox-none' ).
click(
function () {
+ $( '.mw-checkbox-none' ).
on( 'click',
function () {
selectAll( false );
} );
selectAll( false );
} );
- $( '.mw-checkbox-invert' ).
click(
function () {
+ $( '.mw-checkbox-invert' ).
on( 'click',
function () {
$checkboxes.prop( 'checked', function ( i, val ) {
return !val;
} );
$checkboxes.prop( 'checked', function ( i, val ) {
return !val;
} );
@@
-35,4
+35,4
@@
} );
} );
-}(
jQuery
) );
+}() );