mirror of
https://github.com/alexadam/save-as-ebook.git
synced 2025-09-14 19:29:50 +00:00
misc
This commit is contained in:
parent
c1b85a6379
commit
d54cfe8ab7
3 changed files with 34 additions and 9 deletions
6
menu.js
6
menu.js
|
@ -7,8 +7,7 @@ document.getElementById("editChapters").onclick = function() {
|
|||
|
||||
chrome.tabs.query({
|
||||
currentWindow: true,
|
||||
active: true,
|
||||
highlighted: true
|
||||
active: true
|
||||
}, function(tab) {
|
||||
|
||||
chrome.tabs.executeScript(tab[0].id, {file: '/jquery.js'});
|
||||
|
@ -36,8 +35,7 @@ function dispatch(action, justAddToBuffer) {
|
|||
}
|
||||
chrome.tabs.query({
|
||||
currentWindow: true,
|
||||
active: true,
|
||||
highlighted: true
|
||||
active: true
|
||||
}, function(tab) {
|
||||
|
||||
chrome.tabs.executeScript(tab[0].id, {file: '/jquery.js'});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue