From 37c2fdfa617a1352a8d756bf42fb68ad3c3f597b Mon Sep 17 00:00:00 2001 From: averichev Date: Mon, 8 Oct 2018 17:16:01 +0300 Subject: [PATCH] Update init.standard.js --- Resources/public/js/init.standard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/public/js/init.standard.js b/Resources/public/js/init.standard.js index 07232c06..055eba24 100644 --- a/Resources/public/js/init.standard.js +++ b/Resources/public/js/init.standard.js @@ -18,7 +18,7 @@ function initTinyMCE(options) { if (_t) textareas.push(_t); break; case ".": - textareas = getElementsByClassName(options.selector, 'textarea'); + textareas = document.getElementsByClassName(options.selector.substring(1)); break; default : textareas = document.getElementsByTagName('textarea');