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: Better controls for logout interface buttons
[lhc/web/wiklou.git]
/
resources
/
src
/
mediawiki.page.ready
/
ready.js
diff --git
a/resources/src/mediawiki.page.ready/ready.js
b/resources/src/mediawiki.page.ready/ready.js
index
48d605d
..
28374ce
100644
(file)
--- a/
resources/src/mediawiki.page.ready/ready.js
+++ b/
resources/src/mediawiki.page.ready/ready.js
@@
-54,7
+54,7
@@
$( function () {
} );
// Turn logout to a POST action
- $( '#pt-logout a' ).on( 'click', function ( e ) {
+ $( '#pt-logout a
[data-mw="interface"]
' ).on( 'click', function ( e ) {
var api = new mw.Api(),
url = this.href;
mw.notify(