diff options
author | Chad Kieffer <ckieffer@gmail.com> | 2010-02-15 13:24:28 -0700 |
---|---|---|
committer | Chad Kieffer <ckieffer@gmail.com> | 2010-02-15 13:24:28 -0700 |
commit | 7b08be11399ce3d5c8603902f463244559b71870 (patch) | |
tree | f4b60fd85d4a57dfd0f08953c0ee22b2ea713a51 /themes | |
parent | 409121942590e12692eaf4e6e9e8b71bfe5ed60c (diff) |
Initialize context-menu hover using g-photo/g-movie, not the image or movie object. Closes ticket #808
Diffstat (limited to 'themes')
-rw-r--r-- | themes/wind/js/ui.init.js | 3 |
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(); }); |