Skip to content

Commit

Permalink
Merge pull request #6014 from nextcloud-libraries/backport/6013/next
Browse files Browse the repository at this point in the history
[next] fix(NcCheckBoxRadioSwitch): do not toggle on a click on a link inside
  • Loading branch information
DorraJaouad authored Aug 23, 2024
2 parents 0e5c952 + 4fd3786 commit 749fcaf
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -583,8 +583,8 @@ export default {
t,
n,
onToggle() {
if (this.disabled) {
onToggle(event) {
if (this.disabled || event.target.tagName.toLowerCase() === 'a') {
return
}
Expand Down

0 comments on commit 749fcaf

Please sign in to comment.