mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-12-24 06:49:29 -05:00
vibornoff: fix stopCollectors
This commit is contained in:
parent
117fce4fa2
commit
291414a86c
@ -193,8 +193,8 @@ sjcl.random = {
|
||||
if (!this._collectorsStarted) { return; }
|
||||
|
||||
if (window.removeEventListener) {
|
||||
window.removeEventListener("load", this._loadTimeCollector);
|
||||
window.removeEventListener("mousemove", this._mouseCollector);
|
||||
window.removeEventListener("load", this._loadTimeCollector, false);
|
||||
window.removeEventListener("mousemove", this._mouseCollector, false);
|
||||
} else if (window.detachEvent) {
|
||||
window.detachEvent("onload", this._loadTimeCollector);
|
||||
window.detachEvent("onmousemove", this._mouseCollector);
|
||||
|
Loading…
Reference in New Issue
Block a user