diff --git a/view/theme/frio/js/theme.js b/view/theme/frio/js/theme.js index 4d855d9ab5..3846c2c3e3 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(); } });