From aee062c1e8edd819b125e671ec4d0bf89b4c0282 Mon Sep 17 00:00:00 2001 From: Christian Franke Date: Tue, 5 Apr 2016 15:05:41 -0300 Subject: Javascript dynamic show is not working yet --- public/js/calendar.js | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'public/js') diff --git a/public/js/calendar.js b/public/js/calendar.js index 6f8eae0..33fceb8 100644 --- a/public/js/calendar.js +++ b/public/js/calendar.js @@ -11,17 +11,17 @@ $(function() { $(this).next().toggle('fast'); return false; }).next().hide(); - $('.tabcal-cell a').each(function(i,a) { - var hashpos = a.href.indexOf('#'); - if (hashpos < 0) - return true; - var hash = a.href.slice(hashpos); - if (!hash.startsWith('#event-')) - return true; - a.click(function() { - show_event(hash); - return false; - }); - }); - hide_events(); +// $('.tabcal-cell a').each(function(i,a) { +// var hashpos = a.href.indexOf('#'); +// if (hashpos < 0) +// return true; +// var hash = a.href.slice(hashpos); +// if (!hash.startsWith('#event-')) +// return true; +// a.click(function() { +// show_event(hash); +// return false; +// }); +// }); +// hide_events(); }); -- cgit v1.2.1