diff options
author | pacien | 2022-11-28 02:52:45 +0100 |
---|---|---|
committer | pacien | 2022-11-28 02:53:20 +0100 |
commit | 2aaeb66a074571979e0337e14a011b8038bdf124 (patch) | |
tree | 6fd5034fd4f2b2d08208564c5429898906fc9291 /viewer | |
parent | 7874bb98ed38468c77d003ccf5f81130353254e0 (diff) | |
download | ldgallery-2aaeb66a074571979e0337e14a011b8038bdf124.tar.gz |
viewer/epub: use LdLink for nav links
Diffstat (limited to 'viewer')
-rw-r--r-- | viewer/src/views/item_handlers/async/AsyncEpubViewer.vue | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/viewer/src/views/item_handlers/async/AsyncEpubViewer.vue b/viewer/src/views/item_handlers/async/AsyncEpubViewer.vue index 2d5c370..07e6dcb 100644 --- a/viewer/src/views/item_handlers/async/AsyncEpubViewer.vue +++ b/viewer/src/views/item_handlers/async/AsyncEpubViewer.vue | |||
@@ -31,9 +31,9 @@ | |||
31 | :class="$style.navBar" | 31 | :class="$style.navBar" |
32 | > | 32 | > |
33 | <li> | 33 | <li> |
34 | <a | 34 | <LdLink |
35 | v-if="prevSection" | 35 | v-if="prevSection" |
36 | @click.prevent="goToPrevSection" | 36 | @click="goToPrevSection" |
37 | > | 37 | > |
38 | <fa-icon | 38 | <fa-icon |
39 | :icon="faSquareCaretLeft" | 39 | :icon="faSquareCaretLeft" |
@@ -41,7 +41,7 @@ | |||
41 | alt="«" | 41 | alt="«" |
42 | /> | 42 | /> |
43 | {{ prevSectionLabel }} | 43 | {{ prevSectionLabel }} |
44 | </a> | 44 | </LdLink> |
45 | </li> | 45 | </li> |
46 | 46 | ||
47 | <li> | 47 | <li> |
@@ -49,9 +49,9 @@ | |||
49 | </li> | 49 | </li> |
50 | 50 | ||
51 | <li> | 51 | <li> |
52 | <a | 52 | <LdLink |
53 | v-if="nextSection" | 53 | v-if="nextSection" |
54 | @click.prevent="goToNextSection" | 54 | @click="goToNextSection" |
55 | > | 55 | > |
56 | {{ nextSectionLabel }} | 56 | {{ nextSectionLabel }} |
57 | <fa-icon | 57 | <fa-icon |
@@ -59,7 +59,7 @@ | |||
59 | size="lg" | 59 | size="lg" |
60 | alt="»" | 60 | alt="»" |
61 | /> | 61 | /> |
62 | </a> | 62 | </LdLink> |
63 | </li> | 63 | </li> |
64 | </ul> | 64 | </ul> |
65 | </div> | 65 | </div> |
@@ -73,6 +73,7 @@ import ePub, { Rendition } from 'epubjs'; | |||
73 | import { SpineItem } from 'epubjs/types/section'; | 73 | import { SpineItem } from 'epubjs/types/section'; |
74 | import { computed, PropType, Ref, ref, toRef, watch } from 'vue'; | 74 | import { computed, PropType, Ref, ref, toRef, watch } from 'vue'; |
75 | import { useI18n } from 'vue-i18n'; | 75 | import { useI18n } from 'vue-i18n'; |
76 | import LdLink from '@/components/LdLink.vue'; | ||
76 | import { | 77 | import { |
77 | faSquareCaretLeft, | 78 | faSquareCaretLeft, |
78 | faSquareCaretRight, | 79 | faSquareCaretRight, |