Browse Source

Made some tweaks to the presentation and fixed a bug with test results not displaying.

John Resig 16 years ago
parent
commit
b1ac5618c9
2 changed files with 2 additions and 2 deletions
  1. 1 1
      dep/web/application.css
  2. 1 1
      dep/web/webrunner.js

+ 1 - 1
dep/web/application.css

@@ -104,7 +104,7 @@ h2 div.bar { font-size: 10px; width: 275px; top: -2px; right: 1%; }
 h2 input { position: absolute; top: 0px; right: 300px; }
 
 ul#tests { clear:both;width:420px;margin:0 auto;text-align:left; padding: 10px; list-style: none; }
-#tests b { background: #c7331d; color: #000; display: block; padding: 4px 0 4px 4px; margin-left: -20px; margin-bottom: 5px; font-size: 1.1em; }
+#tests b { background: #58bd79; color: #000; display: block; padding: 4px 0 4px 4px; margin-left: -20px; margin-bottom: 5px; font-size: 1.1em; -webkit-border-radius: 4px; -moz-border-radius: 4px; }
 #tests a:first-of-type { font-size: 1.2em; }
 #tests b a { color: #000; }
 #tests li { padding-left: 10px; padding-bottom: 5px; }

+ 1 - 1
dep/web/webrunner.js

@@ -255,7 +255,7 @@
 	jQuery(function(){
 		var id = search.match(/id=([\d,]+)/);
 
-		if ( none ) {
+		if ( none && !id ) {
 			$("#overview").hide();
 			return;
 		}