Skip to content

Commit

Permalink
Merge branch 'MDL-77883-master' of https://github.com/danghieu1407/mo…
Browse files Browse the repository at this point in the history
  • Loading branch information
junpataleta committed Apr 27, 2023
2 parents 70dd724 + 678fb7d commit 065d6cc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion theme/boost/amd/build/form-display-errors.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion theme/boost/amd/build/form-display-errors.min.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion theme/boost/amd/src/form-display-errors.js
Expand Up @@ -60,7 +60,7 @@ define(['jquery', 'core_form/events'], function($, FormEvent) {
const feedbackIndex = describedByIds.indexOf(feedbackId);

// Sometimes (atto) we have a hidden textarea backed by a real contenteditable div.
if (($(element).prop("tagName") == 'TEXTAREA') && parent.find('[contenteditable]')) {
if (($(element).prop("tagName") == 'TEXTAREA') && parent.find('[contenteditable]').length > 0) {
element = parent.find('[contenteditable]');
}
if (msg !== '') {
Expand Down

0 comments on commit 065d6cc

Please sign in to comment.