Fixed overzealous commit d215663 which broke script-disabled fallback
authorDylan Lloyd <dylan@psu.edu>
Wed, 8 Jun 2011 01:41:09 +0000 (21:41 -0400)
committerDylan Lloyd <dylan@psu.edu>
Wed, 8 Jun 2011 01:41:09 +0000 (21:41 -0400)
index.php

index d2715af..cd13a87 100644 (file)
--- a/index.php
+++ b/index.php
@@ -219,7 +219,7 @@ class project extends index {
              WHERE title = ?";
     $result = $this->query($sql, "s", $_GET['project']);
     if ($result = $result[0]['text']) {
-      $text =  str_replace("class='exhibit'", "class='exhibit'", $result);
+      $text =  str_replace("class='exhibit'", "class='exhibit' style='display:block;'", $result);
       echo $text;
       echo "</div>";
     } else {