diff --git a/view/theme/frio/js/theme.js b/view/theme/frio/js/theme.js index 60aa88ba58..1659758748 100644 --- a/view/theme/frio/js/theme.js +++ b/view/theme/frio/js/theme.js @@ -445,7 +445,9 @@ $(document).ready(function () { }); }); - if (!navigator.canShare || !navigator.canShare()) { + try { + navigator.canShare({ url: "#", }); + } catch(err) { $('.button-browser-share').hide(); } });