X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=docs%2Fresources%2Fpage.js;h=8e6ebf785389c1413df0bf71074719aa8f711e2d;hb=256f172ccc058dd0da0665e46bb452986a4f11c9;hp=7635894a7acd3366ca18e17a070b193f4d084c3b;hpb=68f35967a763029adf9a9371d3a0e5636045c387;p=gnome.introspection-doc-generator diff --git a/docs/resources/page.js b/docs/resources/page.js index 7635894..8e6ebf7 100755 --- a/docs/resources/page.js +++ b/docs/resources/page.js @@ -22,8 +22,7 @@ if (!Array.prototype.indexOf) return -1; }; } - - + RooDocsPage = { @@ -130,7 +129,9 @@ RooDocsPage = { display : '', toggle : function () { - this.display = this.display == 'none' ? '': 'none'; + this.display = (this.display == 'none' ) ? '': 'none'; + var display = this.display; + Array.prototype.slice.call( document.getElementsByTagName('tr') ).forEach(function(tr) {