Quote:
Originally Posted by VBDev
Hum it's strange, do you get any similar error if you look into the firefox console ?
|
A node doesn't exist. FireFox is more forgiving when it comes to coding errors. The fix I've incorporated is as follows catching any error that may happen.
This fixes the /me and /slap and possibly any other display issues of special commands in IE.
Code:
mgc_cb_evo_functions.js
try {
/* Creation of the username column */
nchattd = document.createElement('td');
nchattd.setAttribute('width','0');
nchattd.setAttribute('align',mgc_cb_evo_left);
nchattd.setAttribute('valign',mgc_cb_evo_chat_valign);
nchattd.setAttribute('noWrap','nowrap');
nchattd.style.whiteSpace = 'nowrap';
nchattd.innerHTML = xmlnode.getElementsByTagName('col_uname')[0].firstChild.nodeValue;
nchatrow.appendChild(nchattd);
} catch(e) {
/* Creation of the username column for IE */
nchattd = document.createElement('td');
nchattd.setAttribute('width','0');
nchattd.setAttribute('align',mgc_cb_evo_left);
nchattd.setAttribute('valign',mgc_cb_evo_chat_valign);
nchattd.setAttribute('noWrap','nowrap');
nchattd.style.whiteSpace = 'nowrap';
nchatrow.appendChild(nchattd);
}