diff options
author | Christian Franke <nobody@nowhere.ws> | 2016-04-05 15:05:41 -0300 |
---|---|---|
committer | Christian Franke <nobody@nowhere.ws> | 2016-04-05 15:05:41 -0300 |
commit | aee062c1e8edd819b125e671ec4d0bf89b4c0282 (patch) | |
tree | 10bc8704480dbb94382d5ede0c2cfc090fe7c112 /public | |
parent | ecea7612279a24b5bff1a9827fbb317b5c192e3e (diff) |
Javascript dynamic show is not working yet
Diffstat (limited to 'public')
-rw-r--r-- | public/js/calendar.js | 26 |
1 files changed, 13 insertions, 13 deletions
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(); }); |