Skip to content

Commit 582b4ca

Browse files
committed
Hopefully fixes issue #1
1 parent a57a5c8 commit 582b4ca

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

popup.jsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ var ActiveTabList = React.createClass({
4949

5050
componentDidMount: function() {
5151
this.reload()
52+
chrome.tabs.onRemoved.addListener(function(id, info){
53+
this.reload()
54+
}.bind(this))
5255
},
5356

5457
handleClick: function(tab){
@@ -89,6 +92,9 @@ var StoredTabList = React.createClass({
8992

9093
componentDidMount: function() {
9194
this.reload()
95+
chrome.storage.onChanged.addListener(function(changes, areaName){
96+
this.reload()
97+
}.bind(this))
9298
},
9399

94100
handleClick: function(tab){

0 commit comments

Comments
 (0)