Bug 'undefined' announcements in ie

 
  • Created:about 2 years ago
  • Modified:about 2 years ago
  • Status:fixed
  • Owner:unassigned
no supporters

Finally found the cause – IE doesn’t respect textContent, everyone else does. so: if ( this ){

                    if ( this.textContent ){ // FF
                            var messagetext = "<p>" + this.textContent + "</p>"
                    }else{  // IE                   
                            var messagetext = "<p>" + this.innerText + "</p>"
                    } 
            } 
ie
 
votes newest oldest
 
  • Created:about 2 years ago

Now fixed – if you see black ‘undefined’ announcements in IE 7 or 8, please let me know.