Skip to content

Commit

Permalink
[4.4] Typo Update showon.es6.js (joomla#43848)
Browse files Browse the repository at this point in the history
Obvious typo using a number instead of a letter
  • Loading branch information
brianteeman authored Jul 26, 2024
1 parent 1b5560a commit 29ee5c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/media_source/system/js/showon.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ class Showon {
itemval = Array.from(originField.querySelectorAll('option:checked')).map((el) => el.value);
} else {
// Select lists, text-area etc. Note that multiple-select list returns
// an Array here s0 we can always treat 'itemval' as an array
// an Array here so we can always treat 'itemval' as an array
itemval = document.getElementById(originId).value;
// A multi-select <select> $field will return null when no elements are
// selected so we need to define itemval accordingly
Expand Down

0 comments on commit 29ee5c2

Please sign in to comment.