diff --git a/client/scripts/network.js b/client/scripts/network.js index eb59901..7f50e67 100644 --- a/client/scripts/network.js +++ b/client/scripts/network.js @@ -512,6 +512,10 @@ class Events { static on(type, callback) { return window.addEventListener(type, callback, false); } + + static off(type, callback) { + return window.removeEventListener(type, callback, false); + } }