aboutsummaryrefslogtreecommitdiff
path: root/p/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'p/scripts')
-rw-r--r--p/scripts/main.js6
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');