Fixed Unneeded AJAX call when switching editor mode

Enigma

Well-known member
When you click to "use BBCode editor" or "use rich text editor", and there is nothing in the editor, it still makes an AJAX call to editor/to-bb-code or editor/to-html. When the editor is completely empty, there's no reason to make the call.
 
Back
Top Bottom