mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-09 07:34:13 +01:00
Fix :quit. Closes #1126.
This commit is contained in:
@@ -1596,7 +1596,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
|
||||
function (args) {
|
||||
if (dactyl.has("tabs") && tabs.remove(tabs.getTab(), 1, false))
|
||||
return;
|
||||
else if (dactyl.windows.size > 1)
|
||||
else if (dactyl.windows.length > 1)
|
||||
window.close();
|
||||
else
|
||||
dactyl.quit(false, args.bang);
|
||||
|
||||
Reference in New Issue
Block a user