Преглед на файлове

Поправил баг

Book Pauk преди 6 години
родител
ревизия
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;