1
0
Fork 0
mirror of https://git.sr.ht/~cadence/cloudtube synced 2026-05-26 12:32:25 +00:00

First working video page

This commit is contained in:
Cadence Ember 2020-08-23 01:17:31 +12:00
parent 23a7da45d3
commit cbc3a2bf67
21 changed files with 3935 additions and 78 deletions

9
html/static/js/focus.js Normal file
View file

@ -0,0 +1,9 @@
document.addEventListener("mousedown", () => {
document.body.classList.remove("show-focus")
})
document.addEventListener("keydown", event => {
if (event.key === "Tab") {
document.body.classList.add("show-focus")
}
})