diff options
Diffstat (limited to 'modules/mod_ajax_search.tpl')
| -rw-r--r-- | modules/mod_ajax_search.tpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/mod_ajax_search.tpl b/modules/mod_ajax_search.tpl index 4375f6a..5ab1a4b 100644 --- a/modules/mod_ajax_search.tpl +++ b/modules/mod_ajax_search.tpl @@ -1,7 +1,7 @@ {* this needs to go in <head>, but we don't have a way of doing that from a module yet. *} -<script type="text/javascript" src="{$smarty.const.UTIL_PKG_URL}javascript/libs/prototype.js"></script> -<script type="text/javascript" src="{$smarty.const.UTIL_PKG_URL}javascript/libs/live_search.js"></script> -<script type="text/javascript"> +<script src="{$smarty.const.UTIL_PKG_URL}javascript/libs/prototype.js"></script> +<script src="{$smarty.const.UTIL_PKG_URL}javascript/libs/live_search.js"></script> +<script> var search = new LiveSearch($('search_box'), $('search_results')); </script> {* end of <head> section *} |
