templates/resources/page.js
[gnome.introspection-doc-generator] / templates / resources / page.js
index a7df378..2aee037 100644 (file)
@@ -130,8 +130,9 @@ RooDocsPage = {
     vis : '',
     toggle : function()
     {
-        this.vis = this.vis == '' ? 'none : '';
+        this.vis = this.vis == '' ? 'none' : '';
         var vis = this.vis;
+        // new browsers only...
         Array.prototype.slice.call(
             document.getElementsByClassName('expandable')
         ).forEach(function(e) {