diff options
-rw-r--r-- | content/contactFinder.js | 2 | ||||
-rw-r--r-- | main_background.js | 2 |
2 files changed, 2 insertions, 2 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; diff --git a/main_background.js b/main_background.js index 9f8b0d6..0ea6ac2 100644 --- a/main_background.js +++ b/main_background.js @@ -301,7 +301,7 @@ async function connected(p) { }); // Send a message back with the relevant settings - p.postMessage(await browser.storage.local.get(['prefs_subject', 'prefs_body'])); + p.postMessage(await browser.storage.local.get(['pref_subject', 'pref_body'])); return; } p.onMessage.addListener(async function(m) { |