mirror of
https://github.com/redlib-org/redlib.git
synced 2025-04-24 15:56:08 +00:00
Add license links to remaining scripts
This commit is contained in:
parent
ddeefb5917
commit
952b16883f
3 changed files with 8 additions and 2 deletions
|
@ -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');
|
||||
|
@ -56,3 +57,4 @@ async function checkOtherInstances() {
|
|||
window.addEventListener('load', checkOtherInstances);
|
||||
|
||||
checkInstanceUpdateStatus();
|
||||
// @license-end
|
|
@ -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);
|
||||
}
|
||||
|
@ -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
|
|
@ -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
|
Loading…
Add table
Reference in a new issue