fix reader page to use the background script as a clipboard source instead of breaking the selection all the time
This commit is contained in:
1 parent
f9684b9f9a
commit
ca9c532fb1
6 files changed
+66
-32
No files matched your search
+1
-1
@@ -518,7 +518,7 @@ async function lookup_loop()
|
||||
//console.log("queue not empty");
|
||||
let lookup = lookup_queue.pop();
|
||||
lookup_queue = [];
|
||||
let response = await browser.runtime.sendMessage({type:"search", text:lookup[0], time:Date.now()});
|
||||
let response = await browser.runtime.sendMessage({type:"search", text:lookup[0], time:Date.now(), divexisted:exists_div()});
|
||||
if(response)
|
||||
{
|
||||
let mydiv = build_div(response.text, response.result);
|
||||
|
||||
Reference in new issue
Block a user