From 3c2d23ceaf0855d01fda8a2c7b515d8e8442454e Mon Sep 17 00:00:00 2001 From: rasstislav Date: Wed, 31 Aug 2016 21:13:31 +0200 Subject: [PATCH] Update calendar.js --- javascript/calendar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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');