Fix error popup when canceling a sharing action
Fix navigator not reloading when saving an edited file Remove dead links Remove references to Patreon
This commit is contained in:
@@ -93,15 +93,11 @@ const share = async () => {
|
||||
}
|
||||
|
||||
const nav_share = async (url: string) => {
|
||||
try {
|
||||
await navigator.share({
|
||||
title: base.name,
|
||||
text: "I would like to share '" + base.name + "' with you",
|
||||
url: url,
|
||||
})
|
||||
} catch(err) {
|
||||
alert("navigator share not available: "+ err)
|
||||
}
|
||||
await navigator.share({
|
||||
title: base.name,
|
||||
text: "I would like to share '" + base.name + "' with you",
|
||||
url: url,
|
||||
})
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user