mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-05 00:14:11 +01:00
Fix :tabdetach
This commit is contained in:
@@ -590,7 +590,7 @@ function Tabs() //{{{
|
||||
"Detach current tab to its own window",
|
||||
function ()
|
||||
{
|
||||
if (tabs.count == 1)
|
||||
if (tabs.count == 1 && !userContext.ImADeveloper_IKnowWhatImDoing_LeaveMeTheFuckAlone)
|
||||
return void liberator.echoerr("Can't detach the last tab");
|
||||
|
||||
tabs.detachTab(null);
|
||||
|
||||
Reference in New Issue
Block a user