Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions static/check_update.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// @license http://www.gnu.org/licenses/agpl-3.0.html AGPL-3.0
async function checkInstanceUpdateStatus() {
try {
const response = await fetch('/commits.atom');
Expand Down Expand Up @@ -56,3 +57,4 @@ async function checkOtherInstances() {
window.addEventListener('load', checkOtherInstances);

checkInstanceUpdateStatus();
// @license-end
4 changes: 3 additions & 1 deletion static/copy.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// @license http://www.gnu.org/licenses/agpl-3.0.html AGPL-3.0
async function copy() {
await navigator.clipboard.writeText(document.getElementById('bincode_str').value);
}
Expand All @@ -6,4 +7,5 @@ async function set_listener() {
document.getElementById('copy').addEventListener('click', copy);
}

window.addEventListener('load', set_listener);
window.addEventListener('load', set_listener);
// @license-end
4 changes: 3 additions & 1 deletion static/highlighted.js
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
document.querySelector('#commentQueryForms').scrollIntoView();
// @license http://www.gnu.org/licenses/agpl-3.0.html AGPL-3.0
document.querySelector('#commentQueryForms').scrollIntoView();
// @license-end