diff --git a/resources/mobile b/resources/mobile index 5ffa32bc9..482bb977d 160000 --- a/resources/mobile +++ b/resources/mobile @@ -1 +1 @@ -Subproject commit 5ffa32bc9e7ef9f710beba2ae964f5f7d112aa8f +Subproject commit 482bb977d14d3baaed342ef282811402f14e88de diff --git a/resources/views/download.blade.php b/resources/views/download.blade.php index f51cac637..fa402f9ca 100755 --- a/resources/views/download.blade.php +++ b/resources/views/download.blade.php @@ -73,6 +73,22 @@ if (themeConf === 'dark') { document.body.classList.add("dark"); } + // + const isEEUiApp = window && window.navigator && /eeui/i.test(window.navigator.userAgent); + if (isEEUiApp) { + document.querySelector(".link").addEventListener('click', function (e) { + e.preventDefault(); + window.top.postMessage({ + action: "eeuiAppSendMessage", + data: [ + { + action: 'openUrl', + url: "{{ $url }}", + } + ] + }, "*") + }); + }