Skip to content

Commit

Permalink
Merge pull request #10562 from hypeJunction/ckeditor-init
Browse files Browse the repository at this point in the history
chore(ckeditor): assume that default editor state is visual
  • Loading branch information
hypeJunction committed Nov 8, 2016
2 parents 3aa490b + df4487c commit 6b741ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/ckeditor/views/default/elgg/ckeditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ define(function (require) {
$(textarea).data('toggler', $toggler);
}

if (!visual) {
if (visual === false) {
$toggler.html(elgg.echo('ckeditor:visual'));
}

Expand Down

0 comments on commit 6b741ed

Please sign in to comment.