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