From d7888ee9ef663854427319491042e963987b8ea2 Mon Sep 17 00:00:00 2001 From: RuthAdele Date: Thu, 5 Dec 2013 11:04:52 +1030 Subject: [PATCH] "live" is deprecated, use "on" instead. --- javascript/calendar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/javascript/calendar.js b/javascript/calendar.js index 359e9ce..139d5e5 100755 --- a/javascript/calendar.js +++ b/javascript/calendar.js @@ -3,7 +3,7 @@ $(function() { var fetching = false; - $('.calendar-view-more').live("click",function(e) { + $('.calendar-view-more').on("click",function(e) { fetching = true; e.preventDefault(); $(this).addClass('loading'); @@ -31,4 +31,4 @@ $(function() { */ }); -})(jQuery); \ No newline at end of file +})(jQuery);