summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
Diffstat (limited to 'themes')
-rw-r--r--themes/wind/css/fix-ie.css10
-rw-r--r--themes/wind/js/ui.init.js3
2 files changed, 11 insertions, 2 deletions
diff --git a/themes/wind/css/fix-ie.css b/themes/wind/css/fix-ie.css
index 4f0d0888..f7f08486 100644
--- a/themes/wind/css/fix-ie.css
+++ b/themes/wind/css/fix-ie.css
@@ -7,6 +7,16 @@
zoom: 1;
}
+#g-photo,
+#g-movie {
+ zoom: 1;
+}
+
+#g-photo .g-context-menu,
+#g-movie .g-context-menu {
+ width: 240px;
+}
+
input.submit {
clear: none !important;
display: inline !important;
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();
});