Do not show tags in public mode

This commit is contained in:
Tobias Reich 2014-02-09 00:34:31 +01:00
parent 7fd4fd5c04
commit 2a745b5304

View File

@ -345,9 +345,11 @@ build = {
break;
case "Tags": // Tags
infobox += "</table>";
infobox += "<div class='separator'><h1>" + infos[index][0] + "</h1></div>";
infobox += "<div id='tags'>" + infos[index][1] + "</div>";
if (forView!==true&&!lychee.publicMode) {
infobox += "</table>";
infobox += "<div class='separator'><h1>" + infos[index][0] + "</h1></div>";
infobox += "<div id='tags'>" + infos[index][1] + "</div>";
}
break;
default: // Item