diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-11-09 06:50:19 -0800 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-11-09 06:50:19 -0800 |
commit | 0dbf0d51733aa3ef7840a23aeac6dfbe92d014e2 (patch) | |
tree | 23b3d703de834a7dd726ce11e90b47eac3b90a28 /themes/wind/js/ui.init.js | |
parent | 6d57d4308bb2e82d41f9a4667ab35748854d7143 (diff) | |
parent | 6ddbef3dcd3ee34e622bc7286ebf138b7ef1ffaa (diff) |
Merge branch 'master' into talmdal_dev
Diffstat (limited to 'themes/wind/js/ui.init.js')
-rw-r--r-- | themes/wind/js/ui.init.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/themes/wind/js/ui.init.js b/themes/wind/js/ui.init.js index 0126c36b..be03b6a8 100644 --- a/themes/wind/js/ui.init.js +++ b/themes/wind/js/ui.init.js @@ -87,12 +87,12 @@ $(document).ready(function() { } // Photo/Item item view - if ($("#g-item").length) { + if ($("#g-photo").length) { // Ensure the resized image fits within its container - $("#g-item").gallery_fit_photo(); + $("#g-photo").gallery_fit_photo(); // Initialize context menus - var resize = $("#g-item").gallery_get_photo(); + var resize = $("#g-photo").gallery_get_photo(); $(resize).hover(function(){ $(this).gallery_context_menu(); }); |