1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 00:17:58 +01:00

Remove beforeunload handler.

This commit is contained in:
Kris Maglione
2011-10-04 06:44:34 -04:00
parent 8795c093f1
commit c36c9d6185
2 changed files with 14 additions and 5 deletions

View File

@@ -290,7 +290,6 @@ var CommandWidgets = Class("CommandWidgets", {
}),
multilineOutput: Class.Memoize(function () this._whenReady("dactyl-multiline-output", function (elem) {
elem.contentWindow.addEventListener("beforeunload", function (event) { event.preventDefault(); }, true);
highlight.highlightNode(elem.contentDocument.body, "MOW");
}), true),