소스 검색

Update AdminReadMore component, add .prevent to click action

Daniel Supernault 1 년 전
부모
커밋
704e7b12e0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      resources/assets/components/admin/partial/AdminReadMore.vue

+ 1 - 1
resources/assets/components/admin/partial/AdminReadMore.vue

@@ -1,7 +1,7 @@
 <template>
     <div>
         <div class="mb-0" :style="{ 'font-size':`${fontSize}px` }">{{ contentText }}</div>
-        <p class="mb-0"><a v-if="canStepExpand || (canExpand && !expanded)" class="font-weight-bold small" href="#" @click="expand()">Read more</a></p>
+        <p class="mb-0"><a v-if="canStepExpand || (canExpand && !expanded)" class="font-weight-bold small" href="#" @click.prevent="expand()">Read more</a></p>
     </div>
 </template>