misc bug fixes

This commit is contained in:
alexadam 2017-07-14 22:27:09 +03:00
parent 5f01a960f1
commit f76512d55b
2 changed files with 4 additions and 1 deletions

View file

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