From 2a745b5304e79dba472cd7d0a9823298005b2e93 Mon Sep 17 00:00:00 2001 From: Tobias Reich Date: Sun, 9 Feb 2014 00:34:31 +0100 Subject: [PATCH] Do not show tags in public mode --- assets/js/modules/build.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/assets/js/modules/build.js b/assets/js/modules/build.js index e396823..b7e9ff5 100644 --- a/assets/js/modules/build.js +++ b/assets/js/modules/build.js @@ -345,9 +345,11 @@ build = { break; case "Tags": // Tags - infobox += ""; - infobox += "

" + infos[index][0] + "

"; - infobox += "
" + infos[index][1] + "
"; + if (forView!==true&&!lychee.publicMode) { + infobox += ""; + infobox += "

" + infos[index][0] + "

"; + infobox += "
" + infos[index][1] + "
"; + } break; default: // Item