fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2011-11-04 11:54 am

[dw-free] Put back icon keyword into title even when contextual hover is on (jquery beta)

[commit: http://hg.dwscoalition.org/dw-free/rev/39e1f562c342]

http://bugs.dwscoalition.org/show_bug.cgi?id=4035

Don't remove the title attribute.

Patch by [personal profile] fu.

Files modified:
  • htdocs/js/jquery.contextualhover.js
--------------------------------------------------------------------------------
diff -r a43ec2c66b89 -r 39e1f562c342 htdocs/js/jquery.contextualhover.js
--- a/htdocs/js/jquery.contextualhover.js	Fri Nov 04 19:38:26 2011 +0800
+++ b/htdocs/js/jquery.contextualhover.js	Fri Nov 04 19:55:46 2011 +0800
@@ -61,7 +61,6 @@
     var opts = self.options;
 
     if ( opts.type == "icon" ) {
-        self.element.removeAttr("title");
         var parent = self.element.parent("a")
         if ( parent.length > 0 )
             self.element = parent;
--------------------------------------------------------------------------------