history.replaceState: Drop unused argument
Per https://developer.mozilla.org/en-US/docs/Web/API/History/replaceState Change-Id: I6687967c8c8f29393f7f10a3234f42754d192953
This commit is contained in:
@@ -74,7 +74,7 @@
|
|||||||
|
|
||||||
function removeSetLangFromHistory() {
|
function removeSetLangFromHistory() {
|
||||||
if ( 'setlang' in mw.Uri().query ) {
|
if ( 'setlang' in mw.Uri().query ) {
|
||||||
history.replaceState( null, 'no-setlang-url', currentUrlWithoutSetLang() );
|
history.replaceState( null, '', currentUrlWithoutSetLang() );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user