aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts/main.coffee
diff options
context:
space:
mode:
authorStephen Blott2018-08-17 14:48:14 +0100
committerStephen Blott2018-08-17 14:48:14 +0100
commita4a9c4e4625b6a5ad0622a3a84a096238969b13c (patch)
tree5eec57492f773fc14b53fb14d1aed7cf3435cbff /background_scripts/main.coffee
parent73dfd9f276579c28c3f93033e12f0a24e8103af6 (diff)
downloadvimium-a4a9c4e4625b6a5ad0622a3a84a096238969b13c.tar.bz2
togglePinTab command should take a count prefix.
Diffstat (limited to 'background_scripts/main.coffee')
-rw-r--r--background_scripts/main.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee
index 295c9d25..081122c0 100644
--- a/background_scripts/main.coffee
+++ b/background_scripts/main.coffee
@@ -216,7 +216,7 @@ BackgroundCommands =
lastTab: (request) -> selectTab "last", request
removeTab: ({count, tab}) -> forCountTabs count, tab, (tab) -> chrome.tabs.remove tab.id
restoreTab: mkRepeatCommand (request, callback) -> chrome.sessions.restore null, callback request
- togglePinTab: ({tab}) -> chrome.tabs.update tab.id, {pinned: !tab.pinned}
+ togglePinTab: ({count, tab}) -> forCountTabs count, tab, (tab) -> chrome.tabs.update tab.id, {pinned: !tab.pinned}
toggleMuteTab: toggleMuteTab
moveTabLeft: moveTab
moveTabRight: moveTab