diff --git a/htdocs/lib/MetaPanel.js b/htdocs/lib/MetaPanel.js index e9cd2a0..7414998 100644 --- a/htdocs/lib/MetaPanel.js +++ b/htdocs/lib/MetaPanel.js @@ -279,10 +279,9 @@ NxdnMetaPanel.prototype.setDestination = function(destination) { NxdnMetaPanel.prototype.setMode = function(mode) { if (this.mode === mode) return; - var modes = ['individual', 'conference']; - if (modes.indexOf(mode) < 0) return; - this.mode = mode; + + var modes = ['individual', 'conference']; var classes = modes.filter(function(c){ return c !== mode; });