From 478f9bfd706ae1ae1138621c7f825246c9864b72 Mon Sep 17 00:00:00 2001 From: Anton Khodakivskiy Date: Tue, 7 May 2013 12:47:52 +0300 Subject: [PATCH] Closes #97. Reimplemented the 't' command. It should now play nicer with other extensions like SuperStart --- extension/packages/commands.coffee | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/extension/packages/commands.coffee b/extension/packages/commands.coffee index 7d5366a..47e40b3 100644 --- a/extension/packages/commands.coffee +++ b/extension/packages/commands.coffee @@ -45,12 +45,7 @@ command_P = (vim) -> # Open new tab and focus the address bar command_t = (vim) -> if chromeWindow = utils.getRootWindow vim.window - if gBrowser = chromeWindow.gBrowser - # Get the default url for the new tab - newtab_url = getFirefoxPref 'browser.newtab.url' - gBrowser.selectedTab = gBrowser.addTab newtab_url - # Focus the address bar - chromeWindow.focusAndSelectUrlBar() + chromeWindow.BrowserOpenTab() # Copy element URL to the clipboard command_yf = (vim) -> -- 2.39.3