From 0b5f523b5dd97d8d84823b9c7eed40c956e7aa97 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Thu, 15 Oct 2009 19:02:48 -0400 Subject: [PATCH] Tell tabs.js to stay out of my way via brute force via .vimperatorrc rather than via kludgy (but colorful!) variable names. --- common/content/tabs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/content/tabs.js b/common/content/tabs.js index 4d9fd1a8..78c1c7a0 100644 --- a/common/content/tabs.js +++ b/common/content/tabs.js @@ -570,7 +570,7 @@ function Tabs() //{{{ "Detach current tab to its own window", function () { - if (tabs.count == 1 && !userContext.ImADeveloper_IKnowWhatImDoing_LeaveMeTheFuckAlone) + if (tabs.count == 1) return void liberator.echoerr("Can't detach the last tab"); tabs.detachTab(null);