Changeset 670


Ignore:
Timestamp:
01/16/07 09:29:13 (8 years ago)
Author:
gogo
Message:

ticket:841 Spell Checker - Won't return to xinha.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/SpellChecker/spell-check-ui.js

    r663 r670  
    4040    var el = words[i]; 
    4141    if (!(leaveFixed && /HA-spellcheck-fixed/.test(el.className))) { 
    42       el.parentNode.insertBefore(el.firstChild, el); 
     42      if(el.firstChild) 
     43        el.parentNode.insertBefore(el.firstChild, el); 
    4344      el.parentNode.removeChild(el); 
    4445    } else 
Note: See TracChangeset for help on using the changeset viewer.