summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
Diffstat (limited to 'themes')
-rw-r--r--themes/admin_wind/js/ui.init.js6
-rw-r--r--themes/wind/js/ui.init.js3
2 files changed, 7 insertions, 2 deletions
diff --git a/themes/admin_wind/js/ui.init.js b/themes/admin_wind/js/ui.init.js
index e0210ce5..4ed912f8 100644
--- a/themes/admin_wind/js/ui.init.js
+++ b/themes/admin_wind/js/ui.init.js
@@ -4,7 +4,7 @@
*/
$(document).ready(function(){
-
+
// Initialize Superfish menus
$("#g-site-admin-menu .g-menu").hide().addClass("sf-menu");
$("#g-site-admin-menu .g-menu").superfish({
@@ -54,7 +54,9 @@ $(document).ready(function(){
$(".g-available .g-block").addClass("ui-corner-all");
$(".g-unavailable").addClass("ui-corner-all");
+ // Remove titles for menu options since we're displaying that text anyway
+ $(".sf-menu a, .sf-menu li").removeAttr("title");
+
// Initialize button hover effect
$.fn.gallery_hover_init();
-
});
diff --git a/themes/wind/js/ui.init.js b/themes/wind/js/ui.init.js
index 53b58516..a4fc0e2f 100644
--- a/themes/wind/js/ui.init.js
+++ b/themes/wind/js/ui.init.js
@@ -43,6 +43,9 @@ $(document).ready(function() {
});
}
+ // Remove titles for menu options since we're displaying that text anyway
+ $(".sf-menu a, .sf-menu li").removeAttr("title");
+
// Album and search results views
if ($("#g-album-grid").length) {
// Set equal height for album items and vertically align thumbnails/metadata