MyBB Community Forums

Full Version: advanced quickreply form
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
.....
.....
I needed to edit the default jscripts/editor.js file around line 280
and add
oldTextarea.style.removeProperty("width");
before
this.oldTextarea = oldTextarea;

Don't know why the author didn't see that problem?
nothing
Maybe, but i didn't think of the internet explorer either..
Instead of only
oldTextarea.style.removeProperty ("width");
IE requires its own method..
if (oldTextarea.style.removeAttribute) {
    oldTextarea.style.removeAttribute ("width");
}
else {
    oldTextarea.style.removeProperty ("width");
}