mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-25 23:04:51 +02:00
utils.js: Fix method removeUrlParams()
This commit is contained in:
parent
f4b96270aa
commit
5a031bf659
@ -171,8 +171,8 @@
|
|||||||
key = encodeURIComponent(key);
|
key = encodeURIComponent(key);
|
||||||
|
|
||||||
for (var i = 0; i < newparams.length; i++) {
|
for (var i = 0; i < newparams.length; i++) {
|
||||||
if (typeof newparams[i].key === key) {
|
if (newparams[i].key === key) {
|
||||||
delete newparams[i];
|
newparams.splice(i, 1);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user