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:
@@ -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),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user