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:
1 parent
bde4b44108
commit
e040f65ca6
1 file changed
+1
-1
@@ -74,7 +74,7 @@
|
||||
|
||||
function removeSetLangFromHistory() {
|
||||
if ( 'setlang' in mw.Uri().query ) {
|
||||
history.replaceState( null, 'no-setlang-url', currentUrlWithoutSetLang() );
|
||||
history.replaceState( null, '', currentUrlWithoutSetLang() );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user