Sfoglia il codice sorgente

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

Book Pauk 6 anni fa
parent
commit
8ed4c1e219
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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;
         }