templates/resources/page.js
[gnome.introspection-doc-generator] / templates / resources / page.js
index 9977a4e..9a80429 100644 (file)
@@ -132,11 +132,14 @@ RooDocsPage = {
     {
         this.vis = this.vis == '' ? 'none : '';
         var vis = this.vis;
+        // new browsers only...
         Array.prototype.slice.call(
             document.getElementsByClassName('expandable')
         ).forEach(function(e) { 
-            if (!e.className.match(/notInherited/)) { e.style.display= vis; }} 
-        )
+            if (!e.className.match(/notInherited/)) { 
+                e.style.display= vis; 
+            }
+        })
     }
 }