From: Jacek Tomasiak Date: Sun, 30 Sep 2012 17:11:06 +0000 (+0200) Subject: fixed content type translation X-Git-Tag: v3.5~220^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F195%2Fhead;p=thirdparty%2Ftvheadend.git fixed content type translation --- diff --git a/src/webui/static/app/epg.js b/src/webui/static/app/epg.js index 1b09184b2..9fc74aa82 100644 --- a/src/webui/static/app/epg.js +++ b/src/webui/static/app/epg.js @@ -20,7 +20,7 @@ tvheadend.contentGroupLookupName = function(code) { ret = ""; tvheadend.ContentGroupStore.each(function(r) { if (r.data.code == code) ret = r.data.name; - else if (ret == "" && r.data.code == code & 0xF0) ret = r.data.name; + else if (ret == "" && r.data.code == (code & 0xF0)) ret = r.data.name; }); return ret; }