Updated scripts.

This commit is contained in:
Mike Cao committed 2020-07-19 13:11:08 -07:00
1 parent ed22d33d97
commit e58aa9e90f
3 files changed
+4 -3

No files matched your search

-1
View File
@@ -106,7 +106,6 @@ if (script) {
const removeEvents = () => {
listeners.forEach(([element, type, listener]) => {
console.log('removed', element.tagName, type);
element.removeEventListener(type, listener, true);
});
listeners.length = 0;