mirror of
https://github.com/daniel-j/fimfic2epub.git
synced 2024-05-03 20:13:50 +12:00
Don't reset options on version update
This commit is contained in:
parent
0e7c98156d
commit
5dac8a5e24
|
@ -378,11 +378,11 @@ function createEpub (model) {
|
|||
|
||||
function openStory (id) {
|
||||
chrome.storage.sync.get(['ffcOptions', 'version'], function (result) {
|
||||
let options = result.ffcOptions
|
||||
const options = result.ffcOptions
|
||||
// Reset options on new version
|
||||
if (result.version !== FIMFIC2EPUB_VERSION) {
|
||||
options = {}
|
||||
}
|
||||
// if (result.version !== FIMFIC2EPUB_VERSION) {
|
||||
// options = {}
|
||||
// }
|
||||
|
||||
if (!ffc) {
|
||||
ffc = new FimFic2Epub(id, options)
|
||||
|
|
Loading…
Reference in a new issue