Adium

Changeset 23090

Show
Ignore:
Timestamp:
04/06/2008 08:07:42 PM (8 months ago)
Author:
catfish_man
Message:

A little safety, since iirc in xhtml mode the tag name is lowercase; wouldn't want to be caught off guard by it

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Plugins/WebKit Message View/Template.html

    r23089 r23090  
    115115                function imageCheck() {          
    116116                        var node = event.target; 
    117                         if(node.tagName == 'IMG' && !client.zoomImage(node) && node.alt) { 
     117                        if(node.tagName.toLowerCase() == 'img' && !client.zoomImage(node) && node.alt) { 
    118118                                var a = document.createElement('a'); 
    119119                                a.setAttribute('onclick', 'imageSwap(this)');