From 695b3ed9eae30476e410cbfd7df56a2048a08b9c Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Fri, 19 Dec 2008 23:17:52 +1100 Subject: [PATCH] minor refactoring of "b" action --- common/content/tabs.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/common/content/tabs.js b/common/content/tabs.js index 6cec525d..4e8512f2 100644 --- a/common/content/tabs.js +++ b/common/content/tabs.js @@ -252,8 +252,9 @@ function Tabs() //{{{ function (count) { if (count != -1) - return tabs.switchTo(String(count)); - commandline.open(":", "buffer! ", modes.EX); + tabs.switchTo(String(count)); + else + commandline.open(":", "buffer! ", modes.EX); }, { flags: Mappings.flags.COUNT });