mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-04 11:35:47 +01:00
Tell tabs.js to stay out of my way via brute force via .vimperatorrc rather than via kludgy (but colorful!) variable names.
This commit is contained in:
@@ -570,7 +570,7 @@ function Tabs() //{{{
|
|||||||
"Detach current tab to its own window",
|
"Detach current tab to its own window",
|
||||||
function ()
|
function ()
|
||||||
{
|
{
|
||||||
if (tabs.count == 1 && !userContext.ImADeveloper_IKnowWhatImDoing_LeaveMeTheFuckAlone)
|
if (tabs.count == 1)
|
||||||
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);
|
||||||
|
|||||||
Reference in New Issue
Block a user