diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2010-09-12 10:57:41 -0700 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2010-09-12 10:57:41 -0700 |
| commit | bd532f6c88ef54bd47c9b1af46bc8d2c80d4407b (patch) | |
| tree | 7522d38320d6466ac400a97ace5ba3b2d37048fd /themes/wind/views | |
| parent | ac64614d4da7174c085f257f3b8e39aa7afa9eb5 (diff) | |
| parent | f84c4a6192ea0e47ca5b2006baa0bfd7e09a682c (diff) | |
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'themes/wind/views')
| -rw-r--r-- | themes/wind/views/photo.html.php | 4 |
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 ?> |
