К предыдущему

This commit is contained in:
Book Pauk
2019-01-28 06:49:08 +07:00
parent a9f9fc93fd
commit 4c7b211d25
2 changed files with 2 additions and 4 deletions

View File

@@ -189,7 +189,6 @@ class HistoryPage extends Vue {
loadBook(url) {
this.$emit('load-book', {url});
this.close();
}
close() {

View File

@@ -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;
}