mirror of https://github.com/zulip/zulip.git
lightbox: Pass HTMLElement consistently to parse_media_data.
This commit is contained in:
parent
97d372c837
commit
59c761fe32
|
@ -359,7 +359,7 @@ export function build_open_media_function(on_close) {
|
|||
payload = asset_map.get($preview_src);
|
||||
}
|
||||
if (payload === undefined) {
|
||||
payload = parse_media_data($media);
|
||||
payload = parse_media_data($media[0]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue