]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
fixed content type translation 195/head
authorJacek Tomasiak <jacek.tomasiak@gmail.com>
Sun, 30 Sep 2012 17:11:06 +0000 (19:11 +0200)
committerJacek Tomasiak <jacek.tomasiak@gmail.com>
Sat, 29 Dec 2012 22:36:42 +0000 (23:36 +0100)
src/webui/static/app/epg.js

index 1b09184b2bc0269926a623f8874347fabb4c4196..9fc74aa828b5b9bb0bf9eda81d53e4fcf26b57a3 100644 (file)
@@ -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;
 }