mirror of
https://github.com/PretendoNetwork/website.git
synced 2026-04-24 15:37:12 -05:00
Allow Bandwidth's messages to be dismissed
This commit is contained in:
parent
4d432a6232
commit
380517f276
|
|
@ -85,9 +85,14 @@
|
|||
`${unescapeHTML("{{this}}")}`,
|
||||
{{/each}}
|
||||
]
|
||||
|
||||
bandwidthRaccoon.addEventListener("click", () =>
|
||||
|
||||
document.body.addEventListener("click", () =>
|
||||
{
|
||||
bandwidthRaccoonWrapper.classList.remove("speak");
|
||||
})
|
||||
bandwidthRaccoon.addEventListener("click", (event) =>
|
||||
{
|
||||
event.stopPropagation();
|
||||
bandwidthRaccoonWrapper.classList.add("speak");
|
||||
if (!randomSentences[i]) {
|
||||
i = 0
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user