Book Pauk 6 лет назад
Родитель
Сommit
4e1151c9a8
1 измененных файлов с 1 добавлено и 1 удалено
  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;