]> cat aescling's git repositories - mastodon.git/commit
Ignore AbortError when cancelled sharing (#6978)
authorunarist <m.unarist@gmail.com>
Sat, 31 Mar 2018 11:16:38 +0000 (20:16 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Sat, 31 Mar 2018 11:16:38 +0000 (13:16 +0200)
commitfb3dc00ddab3f8c1af42ebc0520f6108cc40a1fc
treef3f0ecfbeb08c26205aca1fb13d91299ff09ad52
parente573bb0990ece4b1a521ccf8a4c7bec5972d3538
Ignore AbortError when cancelled sharing (#6978)

`navigator.share()` rejects Promise if user cancelled sharing, and it may
print it as an error on JavaScript console.

This patch ignores it and prints other errors on the console.
app/javascript/mastodon/components/status_action_bar.js