From: Joey Hess Date: Wed, 2 Jul 2008 19:33:52 +0000 (-0400) Subject: export javascript, and support default-open toggles X-Git-Tag: 2.52~14^2~6 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/e9982352406c2c10a8d36f8df60d44d12c2dbc3d?ds=sidebyside;hp=-c export javascript, and support default-open toggles --- e9982352406c2c10a8d36f8df60d44d12c2dbc3d diff --git a/IkiWiki/Plugin/toggle.pm b/IkiWiki/Plugin/toggle.pm index 8089443e0..54c9a0d9a 100644 --- a/IkiWiki/Plugin/toggle.pm +++ b/IkiWiki/Plugin/toggle.pm @@ -9,7 +9,7 @@ use IkiWiki 2.00; # of css to hide toggleables, to avoid any flashing on page load. The css # is only emitted after the javascript tests that it's going to be able to # show the toggleables. -my $javascript=<<'EOF'; +our $javascript=<<'EOF';