aboutsummaryrefslogtreecommitdiff
path: root/content/contactFinder.js
diff options
context:
space:
mode:
authorYuchen Pei <hi@ypei.me>2022-07-27 12:04:23 +1000
committerYuchen Pei <hi@ypei.me>2022-07-27 12:04:23 +1000
commit6ce1f311168f8aa7cd7dcf5661ccb093931aad1d (patch)
tree96a2e01c1ce5963891f8a087798e4101792a63f7 /content/contactFinder.js
parent428a42de4119f0e33a49f02c00b9dee49224b771 (diff)
fixing email template of contact finder
Diffstat (limited to 'content/contactFinder.js')
-rw-r--r--content/contactFinder.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/contactFinder.js b/content/contactFinder.js
index fb0ec27..46e6595 100644
--- a/content/contactFinder.js
+++ b/content/contactFinder.js
@@ -239,7 +239,7 @@ function main() {
for (const recipient of emails.slice(0, 10)) {
const a = contentDoc.createElement("a");
// TODO: fix prefs
- a.href = `mailto:${recipient}?subject${encodeURIComponent(prefs["pref_subject"])
+ a.href = `mailto:${recipient}?subject=${encodeURIComponent(prefs["pref_subject"])
}&body=${encodeURIComponent(prefs["pref_body"])
}`;
a.textContent = recipient;