Skip to content

Commit

Permalink
Merge pull request #27 from RuthAdele/patch-1
Browse files Browse the repository at this point in the history
"live" is deprecated, use "on" instead.
  • Loading branch information
unclecheese committed Dec 10, 2013
2 parents dd3de0e + d7888ee commit ee160a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions javascript/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down Expand Up @@ -31,4 +31,4 @@ $(function() {
*/
});

})(jQuery);
})(jQuery);

0 comments on commit ee160a8

Please sign in to comment.