К предыдущему
This commit is contained in:
@@ -189,7 +189,6 @@ class HistoryPage extends Vue {
|
|||||||
|
|
||||||
loadBook(url) {
|
loadBook(url) {
|
||||||
this.$emit('load-book', {url});
|
this.$emit('load-book', {url});
|
||||||
this.close();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
close() {
|
close() {
|
||||||
|
|||||||
@@ -199,10 +199,8 @@ class Reader extends Vue {
|
|||||||
|
|
||||||
get lastOpenedBook() {
|
get lastOpenedBook() {
|
||||||
const result = this.$store.getters['reader/lastOpenedBook'];
|
const result = this.$store.getters['reader/lastOpenedBook'];
|
||||||
if (!result) {
|
if (!result)
|
||||||
this.closeAllTextPages();
|
this.closeAllTextPages();
|
||||||
this.historyActive = false;
|
|
||||||
}
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -234,6 +232,7 @@ class Reader extends Vue {
|
|||||||
}
|
}
|
||||||
|
|
||||||
closeAllTextPages() {
|
closeAllTextPages() {
|
||||||
|
this.historyActive = false;
|
||||||
this.setPositionActive = false;
|
this.setPositionActive = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user