diff options
| -rw-r--r-- | background_scripts/commands.coffee | 2 | ||||
| -rw-r--r-- | background_scripts/main.coffee | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/background_scripts/commands.coffee b/background_scripts/commands.coffee index 0573b9c1..218753b2 100644 --- a/background_scripts/commands.coffee +++ b/background_scripts/commands.coffee @@ -386,7 +386,7 @@ commandDescriptions = restoreTab: ["Restore closed tab", { background: true, repeatLimit: 20 }] moveTabToNewWindow: ["Move tab to new window", { background: true }] - togglePinTab: ["Pin or unpin current tab", { background: true, noRepeat: true }] + togglePinTab: ["Pin or unpin current tab", { background: true }] toggleMuteTab: ["Mute or unmute current tab", { background: true, noRepeat: true }] closeTabsOnLeft: ["Close tabs on the left", {background: true, noRepeat: true}] 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 |
