# HG changeset patch # User Guido Berhoerster # Date 1527764260 -7200 # Node ID 6b4680867e49834c3a47212da1cf8d62528ed263 # Parent 1e7567327f1b68d2e4cd8ae7ea572433457e976e Remove incorrect specification of the tab position when creating new tabs The index parameter of browser.tabs.create() does not accept -1, leaving it out adds the newly created tab on the rightmost position as intended (bug reported by Daniele). diff -r 1e7567327f1b -r 6b4680867e49 background.js --- a/background.js Wed Feb 22 09:18:14 2017 +0100 +++ b/background.js Thu May 31 12:57:40 2018 +0200 @@ -381,7 +381,6 @@ browser.tabs.create({ url: tab.url, windowId, - index: -1 }).then(newTab => { // close the current tab return browser.tabs.remove(tab.id);