1
0
Fork 0
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:
Luke Pulverenti 2016-04-19 22:29:15 -04:00
parent 5718a5e55f
commit 68e52931ce

View file

@ -937,6 +937,7 @@
showSelections(card);
// It won't have this if it's a hammer event
if (e.stopPropagation) {
e.stopPropagation();
}
@ -944,7 +945,10 @@
return false;
}
e.preventDefault();
e.stopPropagation();
// It won't have this if it's a hammer event
if (e.stopPropagation) {
e.stopPropagation();
}
return false;
}