Github link
This commit is contained in:
@@ -77,3 +77,12 @@ tfoot tr {
|
||||
.controls.enable .control-button {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.github {
|
||||
bottom: 0;
|
||||
color: var(--subtle-color);
|
||||
padding: 5px;
|
||||
position: fixed;
|
||||
right: 0;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
@@ -20,6 +20,7 @@ function renderRoom(roomId) {
|
||||
name.addEventListener("change", () => {
|
||||
localStorage.setItem("name", name.value);
|
||||
});
|
||||
create(prnt, "a", "[GitHub]", ["github"]).href = "https://github.com/firestuff/slidetogether";
|
||||
addEventListener("unload", () => remove(roomId, clientId));
|
||||
announce(roomId, clientId, adminSecret, name);
|
||||
watch(roomId, clientId, adminSecret, prnt);
|
||||
|
||||
@@ -81,6 +81,8 @@ function renderRoom(roomId: string) {
|
||||
localStorage.setItem("name", name.value);
|
||||
});
|
||||
|
||||
(create(prnt, "a", "[GitHub]", ["github"]) as HTMLAnchorElement).href = "https://github.com/firestuff/slidetogether";
|
||||
|
||||
addEventListener("unload", () => remove(roomId, clientId!));
|
||||
|
||||
announce(roomId, clientId!, adminSecret, name);
|
||||
|
||||
Reference in New Issue
Block a user