educaweb2/shortcodes/gancio-events-detect.tmpl

7 lines
338 B
Cheetah

<%doc>
Load gancio-events-detect.js and call ActivePastEventsIfNotNexts() when page is load
</%doc>
<% site.template_hooks['body_end'].append('<script src="/assets/js/gancio-events-detect.js"></script>') %>
<% site.template_hooks['body_end'].append('<script> $(document).ready(function(){ ActivePastEventsIfNotNexts(); });</script>') %>