summaryrefslogtreecommitdiff
path: root/themes/wind/js/ui.init.js
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-11-09 20:31:14 -0800
committerBharat Mediratta <bharat@menalto.com>2009-11-09 20:31:14 -0800
commita9bb4ab4eb9c2883b5998538406bea4e5c99aeca (patch)
tree61d564360e19d717e4555b5e831cf9a33bcec41c /themes/wind/js/ui.init.js
parent4f8728029dfc283f5d26328ec21a2db455e97651 (diff)
parent64f5a98bd60410e54b6d0c59c713bb7e3eff0a83 (diff)
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'themes/wind/js/ui.init.js')
-rw-r--r--themes/wind/js/ui.init.js6
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();
});