using parcel for js bundling. it works!
This commit is contained in:
@@ -2,6 +2,8 @@ async function savePrivateKey(event) {
|
||||
event.preventDefault();
|
||||
let privKey = document.getElementById('priv-key');
|
||||
browser.storage.local.set({ "priv-key": privKey.value });
|
||||
console.log('setting private key');
|
||||
await browser.runtime.sendMessage({greeting: 'hello'});
|
||||
}
|
||||
|
||||
async function getPrivateKey() {
|
||||
|
||||
Reference in New Issue
Block a user