1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-09 05:34:11 +01:00

Fix <S-Insert> when newlines are involved.

This commit is contained in:
Kris Maglione
2010-12-31 16:12:05 -05:00
parent edd65b0abe
commit 9f7ef8634c
5 changed files with 6 additions and 8 deletions

View File

@@ -1040,9 +1040,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
});
case dactyl.NEW_WINDOW:
var handler = Cc['@mozilla.org/browser/clh;1'].getService(Ci.nsIBrowserHandler);
let win = window.openDialog(document.documentURI, "_blank", "chrome,all,dialog=no",
handler.defaultArgs);
let win = window.openDialog(document.documentURI, "_blank", "chrome,all,dialog=no");
win.loadURI(url, null, postdata);
browser = win.getBrowser();
return win.content;