Make troubleshooting dropdowns show content when JS is disabled.
authorDave Thompson <davet@freestation00.office.fsf.org>
Tue, 17 Jun 2014 16:43:05 +0000 (12:43 -0400)
committerDave Thompson <davet@freestation00.office.fsf.org>
Tue, 17 Jun 2014 16:43:05 +0000 (12:43 -0400)
css/main.css
js/scripts.js

index 40839189e943c230491d6b2051c7cb089d00cf37..fa9eb6a777d64a9126d8777cd5877ca19baec481 100644 (file)
@@ -446,7 +446,6 @@ ul.images li > img {
 }
 
 .troubleshooting dl {
-               display: none;
                padding: .5em;
                border: 1px solid #5f8dd3;
                border-radius: 0 3px 3px;
index d0a1f404e8951c06fafd4f347a99ffa83f297e09..e00e27ad6c8dfedb70f2a9cbd8b36bad31fad63f 100644 (file)
@@ -1,10 +1,7 @@
-
 $(document).ready( function() {
-
-         $(".troubleshooting > h4").click(function() {
-                               $(this).toggleClass("expanded");
-                               $(this).next("dl").slideToggle(400);
-               });
-
+  $(".troubleshooting > dl").css("display", "none");
+  $(".troubleshooting > h4").click(function() {
+    $(this).toggleClass("expanded");
+    $(this).next("dl").slideToggle(400);
+  });
 });
-