From 1783c046924b1c54116dc626e5b50078780ca9c5 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sun, 20 Jun 2010 11:15:53 -0700 Subject: Remove the title attribute for menus using JS since we're showing that text anyway. This may be turn into an accessibility issue, but it's pretty annoying to have a tooltip show up with the text in it. --- themes/wind/js/ui.init.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'themes/wind/js/ui.init.js') 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 -- cgit v1.2.3