1
0
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:
Kris Maglione
2009-01-14 21:01:17 -05:00
4 changed files with 13 additions and 3 deletions

View File

@@ -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);