diff options
Diffstat (limited to 'static/js')
-rw-r--r-- | static/js/share.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/static/js/share.js b/static/js/share.js new file mode 100644 index 0000000..6f08243 --- /dev/null +++ b/static/js/share.js @@ -0,0 +1,3 @@ +async function shareQuote(title, text, url) { + await navigator.share({title, text, url}); +}
\ No newline at end of file |