Skip to content
Snippets Groups Projects
Commit 5d09a4fe authored by Rafael Ostertag's avatar Rafael Ostertag
Browse files

Fixed test whether or not tinyMCE is available.

parent ff1d9658
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,7 @@ QfqNS.Helper = QfqNS.Helper || {};
* @name QfqNS.Helper.jqxEditor
*/
var tinyMce = function () {
if (!tinymce) {
if (typeof tinymce === 'undefined') {
return;
}
......@@ -68,7 +68,7 @@ QfqNS.Helper = QfqNS.Helper || {};
};
tinyMce.prepareSave = function () {
if (!tinymce) {
if (typeof tinymce === 'undefined') {
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment