summaryrefslogtreecommitdiff
path: root/themes/wind/js/ui.init.js
diff options
context:
space:
mode:
Diffstat (limited to 'themes/wind/js/ui.init.js')
-rw-r--r--themes/wind/js/ui.init.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/themes/wind/js/ui.init.js b/themes/wind/js/ui.init.js
index 64eb6bc3..6edf6be4 100644
--- a/themes/wind/js/ui.init.js
+++ b/themes/wind/js/ui.init.js
@@ -98,8 +98,7 @@ $(document).ready(function() {
$("#g-photo,#g-movie").gallery_fit_photo();
// Initialize context menus
- var resize = $("#g-photo,#g-movie").gallery_get_photo();
- $(resize).hover(function(){
+ $("#g-photo,#g-movie").hover(function(){
$(this).gallery_context_menu();
});