From 6ce1f311168f8aa7cd7dcf5661ccb093931aad1d Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Wed, 27 Jul 2022 12:04:23 +1000 Subject: fixing email template of contact finder --- content/contactFinder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'content') 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; -- cgit v1.2.3