summaryrefslogtreecommitdiff
path: root/themes/wind/views/photo.html.php
diff options
context:
space:
mode:
Diffstat (limited to 'themes/wind/views/photo.html.php')
-rw-r--r--themes/wind/views/photo.html.php2
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",