Browse Source

Do not show tags in public mode

Tobias Reich 11 years ago
parent
commit
2a745b5304
1 changed files with 5 additions and 3 deletions
  1. 5 3
      assets/js/modules/build.js

+ 5 - 3
assets/js/modules/build.js

@@ -345,9 +345,11 @@ build = {
 								break;
 								break;
 
 
 				case "Tags":	// Tags
 				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;
 								break;
 
 
 				default:		// Item
 				default:		// Item