Skip to content
This repository was archived by the owner on May 2, 2026. It is now read-only.

Commit fc0b53c

Browse files
committed
fix: tests
1 parent 544712f commit fc0b53c

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/components/client/client.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
</head>
1919

2020
<body>
21-
<button>Click it </button>
21+
<button id="disappear">Click on me so i can disappear (Chrome issue page should be clicked one time to activate autoplay) </button>
2222
<div class="absolute top-3 left-3 hidden flex-col items-center z-50" id="author-block">
2323
<div class="w-fit">
2424
<div class="border-4 rounded-full border-[#57F287] inline-block">
@@ -49,6 +49,10 @@
4949
function generateImg(src, displayFull) {
5050
return '<img id="message-img" ' + (displayFull ? 'class="aspect-auto w-full h-full max-w-[100vw] max-h-[100vh]"' : '') + ' src="' + src + '" />';
5151
}
52+
53+
document.getElementById('disappear').addEventListener('click', () => {
54+
document.getElementById('disappear').style.display = 'none';
55+
});
5256

5357
function generateAudioVideo(src, displayFull, mediaIsShort) {
5458
setTimeout(() => {

0 commit comments

Comments
 (0)