mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-29 08:42:27 +01:00
Fix error reported at startup.
This commit is contained in:
@@ -1035,8 +1035,8 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
|
||||
|
||||
case dactyl.NEW_WINDOW:
|
||||
let win = window.openDialog(document.documentURI, "_blank", "chrome,all,dialog=no");
|
||||
win.loadURI(url, null, postdata);
|
||||
browser = win.getBrowser();
|
||||
browser.loadURIWithFlags(url, flags, null, null, postdata);
|
||||
return win.content;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user