diff --git a/api/js/jsapi/egw_config.js b/api/js/jsapi/egw_config.js index 8015564424..be1a08bab3 100644 --- a/api/js/jsapi/egw_config.js +++ b/api/js/jsapi/egw_config.js @@ -31,7 +31,8 @@ egw.extend('config', egw.MODULE_GLOBAL, function() */ function install_mailto_handler() { - if (document.location.href.match(/(\?|&)cd=yes(&|$)/)) + if (document.location.href.match(/(\?|&)cd=yes(&|$)/) && + typeof navigator.registerProtocolHandler === 'function') // eg. Safari 15.5 does NOT implement it { let url = egw_webserverUrl; if (url[0] === '/') url = document.location.protocol+'://'+document.location.hostname+(url !== '/' ? url : '');