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:
Karl Stolley
2025-08-28 09:18:04 -05:00
committed by Tim Abbott
parent cacd73fd8b
commit 548c690f83

View File

@@ -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;
}