Skip to content
This repository has been archived by the owner on Oct 6, 2021. It is now read-only.

Commit

Permalink
Fixing deprecated tab attribute.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudLigny committed Apr 6, 2016
1 parent 7cfbdf8 commit d1c417a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@
chrome.tabs.getAllInWindow(undefined, function(tabs) {
for (var i = 0, tab; tab = tabs[i]; i++) {
if (tab.url && isBattlelogUrl(tab.url)) {
chrome.tabs.update(tab.id, {selected: true}, function(tab) {
chrome.tabs.update(tab.id, {highlighted: true}, function(tab) {
if (flag) {
clickOnFlag();
}
Expand Down

0 comments on commit d1c417a

Please sign in to comment.