mirror of
https://github.com/alexadam/save-as-ebook.git
synced 2025-09-11 01:44:44 +00:00
misc fixes
This commit is contained in:
parent
0faa8655d9
commit
bad1190a37
3 changed files with 33 additions and 243 deletions
|
@ -2,15 +2,6 @@ var allStyles = [];
|
|||
var currentStyle = null;
|
||||
var appliedStyles = [];
|
||||
|
||||
// FIXME
|
||||
chrome.runtime.onMessage.addListener((obj) => {
|
||||
console.log('new MEESSSAAAGGGEE', obj);
|
||||
if (obj.shortcut === 'build-ebook') {
|
||||
// dispatch('extract-page', false);
|
||||
buildEbook(obj.response);
|
||||
}
|
||||
})
|
||||
|
||||
// create menu labels
|
||||
document.getElementById('menuTitle').innerHTML = chrome.i18n.getMessage('extName');
|
||||
document.getElementById('includeStyle').innerHTML = chrome.i18n.getMessage('includeStyle');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue