diff --git a/htdocs/js/entity.js b/htdocs/js/entity.js index af3165520..3f5475425 100644 --- a/htdocs/js/entity.js +++ b/htdocs/js/entity.js @@ -327,7 +327,7 @@ Entity.prototype.loadDetails = function(skipDefaultErrorHandling) { * @return jQuery dereferred object */ Entity.prototype.loadData = function() { - if (!this.isChannel() && this.active) { + if (!(this.isChannel() && this.active)) { return $.Deferred().resolve().promise(); } return vz.load({