diff options
author | Joey Hess <joey@kitenet.net> | 2010-04-24 00:54:59 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-04-24 00:54:59 -0400 |
commit | e90d67d3c9a93862657563e17e24054087f205d1 (patch) | |
tree | d1bfb530411c4ae2b9bb95737608ee3090a20c0a /IkiWiki/Plugin/relativedate.pm | |
parent | b28323e76a98d56fa4af813338a134dea0106626 (diff) | |
download | ikiwiki-e90d67d3c9a93862657563e17e24054087f205d1.tar ikiwiki-e90d67d3c9a93862657563e17e24054087f205d1.tar.gz |
Moved javascript files under the ikiwiki/ directory, to avoid cluttering the top of the web root. This is another things that requires a wiki rebuild on upgrade to this version.
Diffstat (limited to 'IkiWiki/Plugin/relativedate.pm')
-rw-r--r-- | IkiWiki/Plugin/relativedate.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/relativedate.pm b/IkiWiki/Plugin/relativedate.pm index 7f006af83..7e615f7f1 100644 --- a/IkiWiki/Plugin/relativedate.pm +++ b/IkiWiki/Plugin/relativedate.pm @@ -37,9 +37,9 @@ sub include_javascript ($;$) { my $page=shift; my $absolute=shift; - return '<script src="'.urlto("ikiwiki.js", $page, $absolute). + return '<script src="'.urlto("ikiwiki/ikiwiki.js", $page, $absolute). '" type="text/javascript" charset="utf-8"></script>'."\n". - '<script src="'.urlto("relativedate.js", $page, $absolute). + '<script src="'.urlto("ikiwiki/relativedate.js", $page, $absolute). '" type="text/javascript" charset="utf-8"></script>'; } |