mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
audio: Register player as clickable message element.
This matters most for Safari of at least v. 18.6, which allows clicks on the player to bubble up the DOM.
This commit is contained in:
@@ -121,7 +121,8 @@ export function initialize(): void {
|
||||
$target.is(".message_inline_animated_image_still") ||
|
||||
$target.is("video") ||
|
||||
$target.is(".message_inline_video") ||
|
||||
$target.is("img.twitter-avatar")
|
||||
$target.is("img.twitter-avatar") ||
|
||||
$target.is(".media-audio-element")
|
||||
) {
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user