1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-04 09:35:45 +01:00

Fix :tabdetach

This commit is contained in:
Kris Maglione
2009-09-17 13:58:19 -04:00
parent 4b43c2b3e5
commit 52378d8a9f

View File

@@ -590,7 +590,7 @@ function Tabs() //{{{
"Detach current tab to its own window", "Detach current tab to its own window",
function () function ()
{ {
if (tabs.count == 1) if (tabs.count == 1 && !userContext.ImADeveloper_IKnowWhatImDoing_LeaveMeTheFuckAlone)
return void liberator.echoerr("Can't detach the last tab"); return void liberator.echoerr("Can't detach the last tab");
tabs.detachTab(null); tabs.detachTab(null);