diff options
| author | mrmr1993 | 2014-04-29 14:51:21 +0100 |
|---|---|---|
| committer | mrmr1993 | 2014-11-02 06:12:28 +0000 |
| commit | 002f48e9e7b821debeb96920050705c9a6ce09b9 (patch) | |
| tree | 21b3c02ed1c50382189dfc6a1953fe7cbc5102ca /background_scripts/main.coffee | |
| parent | 8afdaabd2e66a3092bc2b122443956327e0ba679 (diff) | |
| download | vimium-002f48e9e7b821debeb96920050705c9a6ce09b9.tar.bz2 | |
Optional custom new tab URL
This resolves #979.
Diffstat (limited to 'background_scripts/main.coffee')
| -rw-r--r-- | background_scripts/main.coffee | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee index 898f46f1..5c5d3180 100644 --- a/background_scripts/main.coffee +++ b/background_scripts/main.coffee @@ -231,7 +231,7 @@ moveTab = (callback, direction) -> # These are commands which are bound to keystroke which must be handled by the background page. They are # mapped in commands.coffee. BackgroundCommands = - createTab: (callback) -> chrome.tabs.create({ url: "chrome://newtab" }, (tab) -> callback()) + createTab: (callback) -> chrome.tabs.create({url: Settings.get("newTabUrl")}, (tab) -> callback()) duplicateTab: (callback) -> chrome.tabs.getSelected(null, (tab) -> chrome.tabs.duplicate(tab.id) |
