> Minor tweaks to prevent possible clashes with other plugins

One last tweak to simplify customization/localization of the message 
being displayed (via config.messages.mailtoTooltip):
     (function(msg) {
     msg.mailtoTooltip =  "send e-mail to %0";
     var createExternalLink_orig = createExternalLink;
     window.createExternalLink = function(place, url) {
         var link = createExternalLink_orig.apply(this, arguments);
         if(url.startsWith("mailto:";)) {
             link.title = msg.mailtoTooltip.format([url.substr(7)]);
         }
         return link;
     };
     })(config.messages);


-- F.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to