From e9982352406c2c10a8d36f8df60d44d12c2dbc3d Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 2 Jul 2008 15:33:52 -0400 Subject: export javascript, and support default-open toggles --- IkiWiki/Plugin/toggle.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'IkiWiki/Plugin/toggle.pm') 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';