firefox clipboard fix
This commit is contained in:
@@ -21,7 +21,7 @@ const error = ref(false)
|
||||
|
||||
navigator.permissions.query({name: "clipboard-write"}).then((permission) => {
|
||||
permitted.value = permission.state === "granted" || permission.state === "prompt"
|
||||
})
|
||||
}).catch(()=>null)
|
||||
|
||||
function copy() {
|
||||
if (!copied.value) {
|
||||
|
||||
Reference in New Issue
Block a user