This commit is contained in:
alexadam 2016-08-17 18:41:58 +03:00
parent c1b85a6379
commit d54cfe8ab7
3 changed files with 34 additions and 9 deletions

View file

@ -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'});