fix shre button

This commit is contained in:
trinkey 2024-03-20 12:44:29 -04:00 committed by GitHub
parent 6a9746113a
commit c2ab57166a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -91,7 +91,7 @@ fetch("/api/account/self", {
<div>Public: <input id="public" type="checkbox" ${json.public ? "checked" : ""}></div><br> <div>Public: <input id="public" type="checkbox" ${json.public ? "checked" : ""}></div><br>
<a href="/home"><button>Home</button></a> <a href="/home"><button>Home</button></a>
<a target="_blank" href="/u/${json.username}"><button>Preview</button></a> <a target="_blank" href="/u/${json.username}"><button>Preview</button></a>
<button onclick="navigator.clipboard.writeText('https://infopg.web.app/u/trinkey'); log('Copied!');">Share</button> <button onclick="navigator.clipboard.writeText('https://infopg.web.app/u/${json.username}'); log('Copied!');">Share</button>
<button id="save">Save</button><div id="log"> </div> <button id="save">Save</button><div id="log"> </div>
<div id="word-container"> <div id="word-container">
`; `;