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/views | |
| 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/views')
| -rw-r--r-- | themes/wind/views/photo.html.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/wind/views/photo.html.php b/themes/wind/views/photo.html.php index b42ab987..1fab71e1 100644 --- a/themes/wind/views/photo.html.php +++ b/themes/wind/views/photo.html.php @@ -12,7 +12,7 @@ // After the image is rotated or replaced we have to reload the image dimensions // so that the full size view isn't distorted. - $("#g-photo").bind("gallery.change", function() { + $("#g-photo").on("gallery.change", function() { $.ajax({ url: "<?= url::site("items/dimensions/" . $theme->item()->id) ?>", dataType: "json", |
