Commits

Frank Becker committed 1bb339e

make form display:none by default, doesn't need .hide() for document.ready()

Comments (0)

Files changed (2)

src/pentasubmitter/templates/main.html

     <script type="text/javascript" >
         // $(document).ready(function() {
         $(document).ready(function() {
-            $("#news-submission").hide();
+            // $("#news-submission").hide();
             $("#comment_form").hide();
             // $('textarea:not(.processed)').TextAreaResizer();
             setInterval("update()", 60000);
     </div>
 </div>
 
-</body></html>
+</body></html>

src/pentasubmitter/templates/static/css/layout.css

     -webkit-box-shadow:rgb(255, 170, 0) 0px 0px 30px;
     -o-box-shadow:rgb(255, 170, 0) 0px 0px 30px;
     -moz-box-shadow:rgb(255, 170, 0) 0px 0px 30px;
+	display: none;
 }
 
 /* news entries list */