diff options
author | Doug Kearns <dougkearns@gmail.com> | 2008-12-19 23:17:52 +1100 |
---|---|---|
committer | Doug Kearns <dougkearns@gmail.com> | 2008-12-19 23:17:52 +1100 |
commit | 695b3ed9eae30476e410cbfd7df56a2048a08b9c (patch) | |
tree | 76cfb5a0f850c8d15172cfec38b5063f224599f6 | |
parent | 92f9fcfc8d2f4d11426fa6c0a358f516bf9b7c4a (diff) | |
download | pentadactyl-695b3ed9eae30476e410cbfd7df56a2048a08b9c.tar.gz |
minor refactoring of "b" action
-rw-r--r-- | common/content/tabs.js | 5 |
1 files 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 }); |