Make media links open in a new tab, removed some logs.

This commit is contained in:
天クマ 2026-07-14 18:10:05 -03:00
commit e388e185ba
4 changed files with 5 additions and 7 deletions

1
ui.js
View file

@ -190,6 +190,7 @@ export const ui = {
if (msg.hasMedia) {
const a = document.createElement('a');
a.innerText = `[Request media]`;
a.target = "_blank";
const clickListener = async (e) => {
a.removeEventListener('click', clickListener);