mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-24 09:12:28 +01:00
Remove inane fourth argument from tabs.remove.
This commit is contained in:
@@ -1719,8 +1719,10 @@ const Dactyl = Module("dactyl", {
|
||||
commands.add(["q[uit]"],
|
||||
dactyl.has("tabs") ? "Quit current tab" : "Quit application",
|
||||
function (args) {
|
||||
if (dactyl.has("tabs"))
|
||||
tabs.remove(config.browser.mCurrentTab, 1, false, 1);
|
||||
if (dactyl.has("tabs") && tabs.remove(config.browser.mCurrentTab, 1, false))
|
||||
return;
|
||||
else if (dactyl.windows.length > 1)
|
||||
window.close();
|
||||
else
|
||||
dactyl.quit(false, args.bang);
|
||||
}, {
|
||||
|
||||
Reference in New Issue
Block a user