fix: stop propagation only when necessary
This commit is contained in:
parent
cc1aa64007
commit
58b61343c4
1 changed files with 4 additions and 2 deletions
|
|
@ -196,8 +196,10 @@ export default class Grid {
|
|||
|
||||
setup_check() {
|
||||
this.wrapper.on("click touchend", ".grid-row-check", (e) => {
|
||||
e.stopPropagation();
|
||||
if (e.type === "touchend") return;
|
||||
if (e.type === "touchend") {
|
||||
e.stopPropagation();
|
||||
return;
|
||||
}
|
||||
|
||||
const $check = $(e.currentTarget);
|
||||
const checked = $check.prop("checked");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue