1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 03:17:58 +01:00

merge better :q

This commit is contained in:
Doug Kearns
2007-10-18 03:57:17 +00:00
parent cdced34078
commit 1e367ddad7
4 changed files with 21 additions and 4 deletions

View File

@@ -172,8 +172,14 @@ function Tabs() //{{{
count = 1;
if (quit_on_last_tab >= 1 && getBrowser().mTabs.length <= count)
vimperator.quit(quit_on_last_tab == 2);
{
if (vimperator.windows.length > 1)
window.close();
else
vimperator.quit(quit_on_last_tab == 2);
return;
}
var index = this.index(tab);
if (focus_left_tab)