From c8d31bfd02c5fc17b821e1c4b763c11aad56226e Mon Sep 17 00:00:00 2001 From: Phil Crosby Date: Sat, 1 Sep 2012 23:47:22 -0700 Subject: Specifically create a "newtab" page, as suggested by #630 --- background_scripts/main.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'background_scripts') 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") -- cgit v1.2.3