Changeset 476

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

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

Files:
1 modified

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;