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