diff options
| author | Stephen Blott | 2016-02-20 17:30:21 +0000 | 
|---|---|---|
| committer | Stephen Blott | 2016-02-20 17:30:21 +0000 | 
| commit | 26f54711eadfa3c534adbf7a1bdf1feb1be9009d (patch) | |
| tree | 1c239dd4cd7afbcb6745007dc46434b5e3308cf7 /background_scripts/commands.coffee | |
| parent | f435bb93aaa91228b1cac7c92cc2995bbf88257f (diff) | |
| download | vimium-26f54711eadfa3c534adbf7a1bdf1feb1be9009d.tar.bz2 | |
Rework the `duplicateTab` implementation...
Specifically, avoid reliance on `chrome.tabs.onSelectionChanged`.
If we merge this and #2006, then we can delete all of the
`chrome.tabs.onSelectionChanged` code.
Diffstat (limited to 'background_scripts/commands.coffee')
| -rw-r--r-- | background_scripts/commands.coffee | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/background_scripts/commands.coffee b/background_scripts/commands.coffee index d247425a..d4567355 100644 --- a/background_scripts/commands.coffee +++ b/background_scripts/commands.coffee @@ -339,7 +339,7 @@ commandDescriptions =    lastTab: ["Go to the last tab", { background: true, passCountToFunction: true }]    createTab: ["Create new tab", { background: true, repeatLimit: 20 }] -  duplicateTab: ["Duplicate current tab", { background: true, repeatLimit: 20 }] +  duplicateTab: ["Duplicate current tab", { background: true, passCountToFunction: true, repeatLimit: 20 }]    removeTab: ["Close current tab", { background: true, repeatLimit:      # Require confirmation to remove more tabs than we can restore.      (if chrome.session then chrome.session.MAX_SESSION_RESULTS else 25) }] | 
