mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-19 12:52:31 +02:00
Remove beforeunload handler.
This commit is contained in:
1 parent
8795c093f1
commit
c36c9d6185
2 files changed
+14
-5
No files matched your search
@@ -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