Поправки дефолтных сетевых библиотек для режима omnireader
This commit is contained in:
@@ -38,7 +38,7 @@ class LibsPage {
|
||||
i++;
|
||||
}
|
||||
|
||||
if (!this.libs) {
|
||||
if (!this.libs || (this.mode = 'omnireader' && this.libs.mode !== this.mode)) {
|
||||
const defaults = rstore.getLibsDefaults(this.mode);
|
||||
this.commit('reader/setLibs', defaults);
|
||||
}
|
||||
|
||||
@@ -236,6 +236,7 @@ function getLibsDefaults(mode = 'reader') {
|
||||
openInFrameOnEnter: false,
|
||||
openInFrameOnAdd: false,
|
||||
helpShowed: false,
|
||||
mode,
|
||||
groups: [
|
||||
{r: 'http://samlib.ru', s: 'http://samlib.ru', list: [
|
||||
{l: 'http://samlib.ru', c: 'Журнал "Самиздат"'},
|
||||
|
||||
Reference in New Issue
Block a user