Skip to content

Commit

Permalink
fix(nodecg-widget-obs): fix case where no controls would be shown
Browse files Browse the repository at this point in the history
  • Loading branch information
from-the-river-to-the-sea committed Jun 3, 2017
1 parent 7336d18 commit c61b5f6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/nodecg-widget-obs/nodecg-widget-obs.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
super.ready();
namespaces.on('change', newVal => {
this.namespaces = newVal.slice(0);
if (this.selected < 0) {
this.selected = 0;
}
});
}

Expand Down

0 comments on commit c61b5f6

Please sign in to comment.