Open main menu
Home
Random
Log in
Settings
About wiki
Terms and conditions of use
wiki
Search
Changes
← Older edit
Newer edit →
MediaWiki:Common.js
(view source)
Revision as of 22:43, 18 April 2018
122 bytes added
,
22:43, 18 April 2018
no edit summary
Line 142:
Line 142:
mw.hook('mw.uls.language.revert').add(function (e){
mw.hook('mw.uls.language.revert').add(function (e){
console.log(e);
console.log(e);
−
console.log($(
this
));
+
console.log(
e.target);
+
});
+
+
$(
'a.uls-prevlang-link').on('click.ulstipsy', function(e
)
{
+
console.log(e.target
)
;
+
var lang = e.target.lang
;
});
});
Mark.wooff
Bureaucrats
,
Administrators
55
edits