diff show.php @ 200:4db14e5338d7

Better checks in show module.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 17 Nov 2013 16:42:47 +0200
parents a3f0f2a3551a
children 261e5244ac27
line wrap: on
line diff
--- a/show.php	Sat Nov 16 06:20:37 2013 +0200
+++ b/show.php	Sun Nov 17 16:42:47 2013 +0200
@@ -44,7 +44,7 @@
 function updateView(txt)
 {
   var view = document.getElementById("mainView");
-  if (view)
+  if (view && txt != false && txt != "")
     view.innerHTML = txt;
 }