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;
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org