Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Initialize context-menu hover using g-photo/g-movie, not the image or…

… movie object. Closes ticket #808
  • Loading branch information...
commit 7b08be11399ce3d5c8603902f463244559b71870 1 parent 4091219
@ckieffer ckieffer authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  themes/wind/js/ui.init.js
View
3  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();
});
Please sign in to comment.
Something went wrong with that request. Please try again.