1
0
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:
Kris Maglione
2014-02-27 08:06:12 -08:00
parent 9522178892
commit fb976055c7
2 changed files with 3 additions and 1 deletions

View File

@@ -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);