Quellcode durchsuchen

Поправил баг

Book Pauk vor 6 Jahren
Ursprung
Commit
4e1151c9a8
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      client/components/Reader/CopyTextPage/CopyTextPage.vue

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

@@ -41,7 +41,7 @@ class CopyTextPage extends Vue {
         this.text = 'Загрузка';
         await this.$nextTick();
 
-        const paraIndex = parsed.findParaIndex(bookPos);
+        const paraIndex = parsed.findParaIndex(bookPos || 0);
         this.initStep = true;
         this.stopInit = false;