diff --git a/javascript/calendar.js b/javascript/calendar.js index 139d5e5..f9617ad 100755 --- a/javascript/calendar.js +++ b/javascript/calendar.js @@ -3,7 +3,7 @@ $(function() { var fetching = false; - $('.calendar-view-more').on("click",function(e) { + $(document).on('click','.calendar-view-more',function(e) { fetching = true; e.preventDefault(); $(this).addClass('loading');