Book Pauk 6 лет назад
Родитель
Сommit
8ed4c1e219
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      client/components/Reader/TextPage/TextPage.vue

+ 1 - 1
client/components/Reader/TextPage/TextPage.vue

@@ -230,7 +230,7 @@ class TextPage extends Vue {
     }
     
     draw(immediate) {
-        if (this.book && this.bookPos >= this.parsed.textLength) {
+        if (this.book && this.bookPos > 0 && this.bookPos >= this.parsed.textLength) {
             this.doEnd();
             return;
         }