Skip to content
This repository has been archived by the owner on Jan 4, 2019. It is now read-only.

Commit

Permalink
ignore closed tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
bridiver committed Nov 30, 2016
1 parent bde5a94 commit cedf446
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/browser/api/extensions.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ const tabsQuery = function (queryInfo, useCurrentWindowId = false) {
var queryKeys = Object.keys(queryInfo)
// get the values for all tabs
var tabValues = tabIds.reduce((tabs, tabId) => {
tabs[tabId] = getTabValue(tabId)
tabs[tabId] = getTabValue(tabId) || {}
return tabs
}, {})

Expand Down

0 comments on commit cedf446

Please sign in to comment.