From: istrasoft Date: Mon, 28 May 2012 01:07:53 +0000 (+0300) Subject: Update application.js, as of jQuery 1.7, the .live() method is deprecated. Use .on... X-Git-Url: https://git.mdrn.pl/ReadingsJQM.git/commitdiff_plain/728e1747eabdd7a84c6dbb75268593f248dd6ece?ds=sidebyside Update application.js, as of jQuery 1.7, the .live() method is deprecated. Use .on() to attach event handlers. --- diff --git a/js/application.js b/js/application.js index 0f091a9..fc83cd7 100644 --- a/js/application.js +++ b/js/application.js @@ -2,7 +2,7 @@ jQuery Mobile Boilerplate application.js */ -$(document).live("pageinit", function(event){ +$(document).on("pageinit", function(event){ // custom code goes here