Skip to content

Commit

Permalink
Merge pull request #234 from averichev/patch-1
Browse files Browse the repository at this point in the history
Update init.standard.js
  • Loading branch information
fre5h committed Jun 19, 2019
2 parents 548d020 + 37c2fdf commit 4f918f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/public/js/init.standard.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 4f918f6

Please sign in to comment.