diff options
| author | Phil Crosby | 2012-09-01 23:47:22 -0700 |
|---|---|---|
| committer | Phil Crosby | 2012-09-01 23:47:22 -0700 |
| commit | c8d31bfd02c5fc17b821e1c4b763c11aad56226e (patch) | |
| tree | 7645690ce221d193f701aa9090cdc11bdfb38cc9 /background_scripts | |
| parent | 879ff43d9f0b6c4f75dd86d643addf63581dee79 (diff) | |
| download | vimium-c8d31bfd02c5fc17b821e1c4b763c11aad56226e.tar.bz2 | |
Specifically create a "newtab" page, as suggested by #630
Diffstat (limited to 'background_scripts')
| -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 56b6e313..24e7dc79 100644 --- a/background_scripts/main.coffee +++ b/background_scripts/main.coffee @@ -226,7 +226,7 @@ repeatFunction = (func, totalCount, currentCount, frameId) -> # 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({}, (tab) -> callback()) + createTab: (callback) -> chrome.tabs.create({ url: "chrome://newtab" }, (tab) -> callback()) nextTab: (callback) -> selectTab(callback, "next") previousTab: (callback) -> selectTab(callback, "previous") firstTab: (callback) -> selectTab(callback, "first") |
