parent
e128498518
commit
0cffb564ea
|
@ -328,6 +328,8 @@ Object.assign(handleEvent, {
|
||||||
},
|
},
|
||||||
|
|
||||||
toggle(event) {
|
toggle(event) {
|
||||||
|
// when fired on checkbox, prevent the parent label from seeing the event, see #501
|
||||||
|
event.stopPropagation();
|
||||||
API.saveStyle({
|
API.saveStyle({
|
||||||
id: handleEvent.getClickedStyleId(event),
|
id: handleEvent.getClickedStyleId(event),
|
||||||
enabled: this.matches('.enable') || this.checked,
|
enabled: this.matches('.enable') || this.checked,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user