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
Omit 'window.' when accessing browsing location
[lhc/web/wiklou.git]
/
resources
/
src
/
mediawiki.special
/
mediawiki.special.javaScriptTest.js
diff --git
a/resources/src/mediawiki.special/mediawiki.special.javaScriptTest.js
b/resources/src/mediawiki.special/mediawiki.special.javaScriptTest.js
index
d3e8f29
..
3dd65fb
100644
(file)
--- a/
resources/src/mediawiki.special/mediawiki.special.javaScriptTest.js
+++ b/
resources/src/mediawiki.special/mediawiki.special.javaScriptTest.js
@@
-25,7
+25,7
@@
// Bind onchange event handler and append to form
$html.append(
$( select ).change( function () {
-
window.location
= QUnit.url( { useskin: $( this ).val() } );
+
location.href
= QUnit.url( { useskin: $( this ).val() } );
} )
);