mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-03-22 13:10:41 +08: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