Skip to content

Commit

Permalink
Merge pull request #856 from rcutmore/remove-extra-options-refresh
Browse files Browse the repository at this point in the history
Remove duplicate refresh while opening options (firefox-compat branch)
  • Loading branch information
cooperq committed Jun 25, 2016
2 parents 4f6a71c + 8f7e9c9 commit ef2d5e0
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/options.js
Expand Up @@ -389,9 +389,3 @@ function syncSettings(origin, userAction) {
// Options page needs to be refreshed to display current results.
refreshFilterPage();
}

document.addEventListener('DOMContentLoaded', function() {
chrome.tabs.query({currentWindow: true}, function(/*tab*/) {
refreshFilterPage();
});
});

0 comments on commit ef2d5e0

Please sign in to comment.