Поправки багов
This commit is contained in:
@@ -38,7 +38,6 @@ class CopyTextPage extends Vue {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async init(bookPos, parsed, copyFullText) {
|
async init(bookPos, parsed, copyFullText) {
|
||||||
if (parsed && this.parsed != parsed) {
|
|
||||||
this.text = 'Загрузка';
|
this.text = 'Загрузка';
|
||||||
await this.$nextTick();
|
await this.$nextTick();
|
||||||
|
|
||||||
@@ -84,7 +83,6 @@ class CopyTextPage extends Vue {
|
|||||||
|
|
||||||
this.text = text;
|
this.text = text;
|
||||||
this.initStep = false;
|
this.initStep = false;
|
||||||
this.parsed = parsed;
|
|
||||||
|
|
||||||
await this.$nextTick();
|
await this.$nextTick();
|
||||||
this.$refs.text.focus();
|
this.$refs.text.focus();
|
||||||
@@ -94,7 +92,6 @@ class CopyTextPage extends Vue {
|
|||||||
this.$refs.text.scrollTop = p.offsetTop;
|
this.$refs.text.scrollTop = p.offsetTop;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
close() {
|
close() {
|
||||||
this.stopInit = true;
|
this.stopInit = true;
|
||||||
|
|||||||
@@ -207,6 +207,7 @@ class HistoryPage extends Vue {
|
|||||||
}
|
}
|
||||||
|
|
||||||
loadBook(url) {
|
loadBook(url) {
|
||||||
|
if (this.mostRecentBook.url != url)
|
||||||
this.$emit('load-book', {url});
|
this.$emit('load-book', {url});
|
||||||
this.close();
|
this.close();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user