mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core: fix warnings
This commit is contained in:
1 parent
2daa7e2034
commit
a2bbb7a0e3
6 files changed
+10
-8
No files matched your search
@@ -63,6 +63,7 @@ if (!(window.matchMedia('all').addListener || window.matchMedia('all').addEventL
|
||||
for (let i = 0, il = listeners.length; i < il; i++) {
|
||||
if (listeners[i] === listener) {
|
||||
listeners.splice(i, 1);
|
||||
i--;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user