mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
check before calling stopPropagation
This commit is contained in:
parent
5718a5e55f
commit
68e52931ce
1 changed files with 5 additions and 1 deletions
|
@ -937,6 +937,7 @@
|
||||||
|
|
||||||
showSelections(card);
|
showSelections(card);
|
||||||
|
|
||||||
|
// It won't have this if it's a hammer event
|
||||||
if (e.stopPropagation) {
|
if (e.stopPropagation) {
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
}
|
}
|
||||||
|
@ -944,7 +945,10 @@
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
e.stopPropagation();
|
// It won't have this if it's a hammer event
|
||||||
|
if (e.stopPropagation) {
|
||||||
|
e.stopPropagation();
|
||||||
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue