summaryrefslogtreecommitdiff
path: root/themes/wind/views
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-09-10 08:41:12 -0700
committerBharat Mediratta <bharat@menalto.com>2010-09-10 08:41:12 -0700
commit3936183446375e039cc35eec80e427849336c210 (patch)
tree5983bea3adbf355a117224eeecc1d668cac1de75 /themes/wind/views
parentd698a19e0e9acdcb81c5245d1f681546b604a1f3 (diff)
parent6e62d604a45b9bf1a60d04effb7eb08e7d15463c (diff)
Merge branch 'master' of github.com:gallery/gallery3
Diffstat (limited to 'themes/wind/views')
-rw-r--r--themes/wind/views/photo.html.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/wind/views/photo.html.php b/themes/wind/views/photo.html.php
index cb830e23..b42ab987 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.
- gallery_image_replaced_hook = function(data, thumb) {
+ $("#g-photo").bind("gallery.change", function() {
$.ajax({
url: "<?= url::site("items/dimensions/" . $theme->item()->id) ?>",
dataType: "json",
@@ -20,7 +20,7 @@
full_dims = data.full;
}
});
- }
+ });
});
</script>
<? endif ?>