diff options
author | Bharat Mediratta <bharat@menalto.com> | 2013-03-11 09:46:00 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2013-03-11 09:46:00 -0700 |
commit | 313f2abc0c2a4f90242810aef1cda5ea642f717a (patch) | |
tree | 769b4f54c5da405f4b54084be1ba5c20d5b6ff42 /themes/wind/js | |
parent | 24e720b48ea7ca8892374431727d42d9d1eac486 (diff) | |
parent | 2e94edab5396d53b1b09b6b1415d1f66d6f16de5 (diff) |
Merge pull request #205 from shadlaws/fix_2053
#2053 - Change all .bind() to .on() for jQuery future-proofing.
Diffstat (limited to 'themes/wind/js')
-rw-r--r-- | themes/wind/js/ui.init.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/wind/js/ui.init.js b/themes/wind/js/ui.init.js index fd75c210..4f901778 100644 --- a/themes/wind/js/ui.init.js +++ b/themes/wind/js/ui.init.js @@ -83,7 +83,7 @@ $(document).ready(function() { ); // Realign any thumbnails that change so that when we rotate a thumb it stays centered. - $(".g-item").bind("gallery.change", function() { + $(".g-item").on("gallery.change", function() { $(".g-item").each(function() { $(this).height($(this).find("img").height() + 2); }); |