mirror of
https://github.com/PretendoNetwork/website.git
synced 2026-06-22 12:32:49 -05:00
Merge pull request #222 from ManiacOfGitHub/patch-1
Allow Bandwidth's messages to be dismissed
This commit is contained in:
commit
1b53b7718f
|
|
@ -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