Skip to content

Commit

Permalink
Fixed window headers
Browse files Browse the repository at this point in the history
  • Loading branch information
Roukanken42 committed Jun 19, 2016
1 parent c8784f0 commit f17eee3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion popup.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,15 @@ var ActiveTabList = React.createClass({
var headers = new Array()
var tabs = new Array()

var window_number = 1

for (var id in this.state.tabs){
headers.push(
<a className="item" data-tab={id}>{id}</a>
<a className="item" data-tab={id}>{"Window " + window_number}</a>
)

window_number += 1

var buttons = this.state.tabs[id].map(function(tab){
return <TabButton
key={tab.id}
Expand Down

0 comments on commit f17eee3

Please sign in to comment.