mirror of
https://github.com/alexadam/save-as-ebook.git
synced 2025-09-09 17:04:39 +00:00
misc bug fixes
This commit is contained in:
parent
5f01a960f1
commit
f76512d55b
2 changed files with 4 additions and 1 deletions
|
@ -88,6 +88,9 @@ document.getElementById("applyStyle").onclick = function() {
|
|||
currentWindow: true,
|
||||
active: true
|
||||
}, function(tab) {
|
||||
if (!currentStyle || !currentStyle.style) {
|
||||
return;
|
||||
}
|
||||
chrome.tabs.insertCSS(tab[0].id, {code: currentStyle.style});
|
||||
appliedStyles.push(currentStyle);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue