core: fix warnings

This commit is contained in:
undefined committed 2022-10-06 02:58:24 +08:00
1 parent 2daa7e2034
commit a2bbb7a0e3
6 files changed
+10 -8

No files matched your search

+1
View File
@@ -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--;
}
}
};