aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts
diff options
context:
space:
mode:
Diffstat (limited to 'background_scripts')
-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 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")