Updated scripts.
This commit is contained in:
1 parent
ed22d33d97
commit
e58aa9e90f
3 files changed
+4
-3
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user