mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-05 13:14:11 +01:00
Merge branch 'master' of kmaglione@git.vimperator.org:/git/vimperator/liberator
This commit is contained in:
@@ -769,8 +769,11 @@ function Events() //{{{
|
||||
// removeEventListeners() to avoid mem leaks
|
||||
liberator.dump("TODO: remove all eventlisteners");
|
||||
|
||||
if (typeof getBrowser != "undefined")
|
||||
try
|
||||
{
|
||||
getBrowser().removeProgressListener(this.progressListener);
|
||||
}
|
||||
catch (e) {}
|
||||
|
||||
window.removeEventListener("popupshown", enterPopupMode, true);
|
||||
window.removeEventListener("popuphidden", exitPopupMode, true);
|
||||
|
||||
Reference in New Issue
Block a user