Changeset 476 for trunk


Ignore:
Timestamp:
03/20/06 02:18:35 (14 years ago)
Author:
mokhet
Message:

fix bug introduce in changeset:472 that was preventing the editor to add a link

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/htmlarea.js

    r474 r476  
    38833883    if ( link ) 
    38843884    { 
    3885       while ( link && link.tagName.toLowerCase() != 'a' ) 
     3885      while (link && !/^a$/i.test(link.tagName)) 
    38863886      { 
    38873887        link = link.parentNode; 
Note: See TracChangeset for help on using the changeset viewer.