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 "rdbms: fix IDatabase::setLBInfo() handling of null and allow clearing keys"
[lhc/web/wiklou.git]
/
resources
/
src
/
mediawiki.page.watch.ajax.js
diff --git
a/resources/src/mediawiki.page.watch.ajax.js
b/resources/src/mediawiki.page.watch.ajax.js
index
f7fbeef
..
f550a91
100644
(file)
--- a/
resources/src/mediawiki.page.watch.ajax.js
+++ b/
resources/src/mediawiki.page.watch.ajax.js
@@
-116,7
+116,7
@@
$links = $links.filter( ':not( #bodyContent *, #content * )' );
}
$links = $links.filter( ':not( #bodyContent *, #content * )' );
}
- $links.
click(
function ( e ) {
+ $links.
on( 'click',
function ( e ) {
var mwTitle, action, api, $link;
mwTitle = mw.Title.newFromText( title );
var mwTitle, action, api, $link;
mwTitle = mw.Title.newFromText( title );
@@
-131,6
+131,7
@@
$link = $( this );
$link = $( this );
+ // eslint-disable-next-line no-jquery/no-class-state
if ( $link.hasClass( 'loading' ) ) {
return;
}
if ( $link.hasClass( 'loading' ) ) {
return;
}