initial commit
This commit is contained in:
9
home_stream/static/main.js
Normal file
9
home_stream/static/main.js
Normal file
@@ -0,0 +1,9 @@
|
||||
// SPDX-FileCopyrightText: 2025 Max Mehl <https://mehl.mx>
|
||||
//
|
||||
// SPDX-License-Identifier: GPL-3.0-only
|
||||
|
||||
function copyToClipboard(text, button) {
|
||||
navigator.clipboard.writeText(text).then(() => {
|
||||
button.classList.add("secondary");
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user