OpenLayers OpenLayers

Changeset 7670

Show
Ignore:
Timestamp:
08/01/08 17:12:56 (4 months ago)
Author:
ahocevar
Message:

Use getAttributeNS instead of getAttribute. Non-functional change. (references #1650)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/lib/OpenLayers/Renderer/SVG.js

    r7669 r7670  
    249249                // Only set the href if it is different from the current one. 
    250250                // This is a workaround for strange rendering behavior in FF3. 
    251                 if (node.getAttribute("href") != href) { 
     251                if (node.getAttributeNS(this.xlinkns, "href") != href) { 
    252252                    node.setAttributeNS(this.xlinkns, "href", href); 
    253253                }