diff options
| author | 2022-11-14 14:54:57 +0100 | |
|---|---|---|
| committer | 2022-11-14 14:54:57 +0100 | |
| commit | 1f86aae415951b3a5c83d092765fa92337fc29ee (patch) | |
| tree | b610bdcd18bffefead261ff6e2bda09d608a7e1d /p/scripts | |
| parent | 37cc854d1275b28fca8104477fa1e6558e6516ba (diff) | |
fix: sharing service for mailto links for web mail services (#4680)
* fix
* Update main.js
* Update app/i18n/fr/gen.php
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'p/scripts')
| -rw-r--r-- | p/scripts/main.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/p/scripts/main.js b/p/scripts/main.js index 268fd2858..436796b52 100644 --- a/p/scripts/main.js +++ b/p/scripts/main.js @@ -1101,6 +1101,12 @@ function init_stream(stream) { return false; } + el = ev.target.closest('.item.share > a[data-type="email-webmail-firefox-fix"]'); + if (el) { + window.open(el.href); + return false; + } + el = ev.target.closest('.item.share > a[href="POST"]'); if (el) { // Share by POST const f = el.parentElement.querySelector('form'); |
