diff --git a/dist/js/jquery.magnify-mobile.js b/dist/js/jquery.magnify-mobile.js index 08b9c20..e7f9cda 100644 --- a/dist/js/jquery.magnify-mobile.js +++ b/dist/js/jquery.magnify-mobile.js @@ -43,7 +43,7 @@ '}' + '').appendTo('head'); // Ensure .magnify is rendered - $(window).load(function() { + $(window).on('load', function() { $('body').append('
'); var $lensMobile = $('.lens-mobile'); // Only enable mobile zoom on smartphones diff --git a/dist/js/jquery.magnify.js b/dist/js/jquery.magnify.js index a762690..0c02562 100644 --- a/dist/js/jquery.magnify.js +++ b/dist/js/jquery.magnify.js @@ -1,5 +1,5 @@ /*! - * jQuery Magnify Plugin v1.6.18 by T. H. Doan (http://thdoan.github.io/magnify/) + * jQuery Magnify Plugin v1.6.19 by T. H. Doan (http://thdoan.github.io/magnify/) * Based on http://thecodeplayer.com/walkthrough/magnifying-glass-for-images-using-jquery-and-css3 * * jQuery Magnify by T. H. Doan is licensed under the MIT License.