3 ms·
On IE and Edge, every sentence becomes prefixed with the string "null". This appears to be caused by the code that clears the element content with: el.innerH
by j4_james 10y ago
On IE and Edge, every sentence becomes prefixed with the string "null". This appears to be caused by the code that clears the element content with:
el.innerHTML = null;
Changing that to a blank string fixes the issue for me, i.e.
el.innerHTML = "";