Explorar o código

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

Book Pauk %!s(int64=6) %!d(string=hai) anos
pai
achega
8ed4c1e219
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
         }