Browse Source

Мелкая поправка

Book Pauk 6 năm trước cách đây
mục cha
commit
8ed4c1e219
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;
         }