Skip to content

Commit

Permalink
Merge pull request #7 from highcharts/main
Browse files Browse the repository at this point in the history
fix radio automatically starting with last selection
  • Loading branch information
frankelavsky authored Jul 1, 2024
2 parents 7b5722e + d836f60 commit 4293e5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion early_explo/examples/menu/menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ const toggleOptions = (e) => {
menu.setAttribute('data-highcharts-override', 'true')
toggleMenu(menu)

const childrenBoxes = [...e.srcElement.form.parentNode.parentNode.querySelectorAll("input")]
const childrenBoxes = [...e.srcElement.form.parentNode.parentNode.querySelectorAll('input[type="checkbox"]')]
childrenBoxes.forEach(box =>{
if (!box.getAttribute('data-highcharts-override')) {
box.checked = e.srcElement.checked
Expand Down

0 comments on commit 4293e5e

Please sign in to comment.