Skip to content

Commit 526fbda

Browse files
author
Tom Doan
committed
Fix issue #32
1 parent a730120 commit 526fbda

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/js/jquery.magnify-mobile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
'}' +
4444
'</style>').appendTo('head');
4545
// Ensure .magnify is rendered
46-
$(window).load(function() {
46+
$(window).on('load', function() {
4747
$('body').append('<div class="magnify-mobile"><div class="lens-mobile"></div></div>');
4848
var $lensMobile = $('.lens-mobile');
4949
// Only enable mobile zoom on smartphones

dist/js/jquery.magnify.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* jQuery Magnify Plugin v1.6.18 by T. H. Doan (http://thdoan.github.io/magnify/)
2+
* jQuery Magnify Plugin v1.6.19 by T. H. Doan (http://thdoan.github.io/magnify/)
33
* Based on http://thecodeplayer.com/walkthrough/magnifying-glass-for-images-using-jquery-and-css3
44
*
55
* jQuery Magnify by T. H. Doan is licensed under the MIT License.

0 commit comments

Comments
 (0)