Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/nodes
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-10-05 11:35:43 +0300
committerJulius Härtl <jus@bitgrid.net>2019-10-05 11:35:43 +0300
commit7805c98a4b1530e224a4a5773e6800851d9404b1 (patch)
treed646f6a06ff5b9b226c2d9f2581e7ccb413ba5fd /src/nodes
parent69b3157dd9706e004a43cacbde9672478236f9e2 (diff)
Fix eslint
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'src/nodes')
-rw-r--r--src/nodes/ImageView.vue14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/nodes/ImageView.vue b/src/nodes/ImageView.vue
index dcd0f57c2..c51ac0380 100644
--- a/src/nodes/ImageView.vue
+++ b/src/nodes/ImageView.vue
@@ -24,12 +24,16 @@
<div class="image" :class="{'icon-loading': !loaded}" :data-src="src">
<div v-if="imageLoaded && isSupportedImage">
<transition name="fade">
- <img v-show="loaded" :src="src"
- class="image__main" @load="onLoaded">
+ <img v-show="loaded"
+ :src="src"
+ class="image__main"
+ @load="onLoaded">
</transition>
<transition name="fade">
<div v-show="loaded" class="image__caption">
- <input ref="altInput" type="text" :value="alt"
+ <input ref="altInput"
+ type="text"
+ :value="alt"
@keyup.enter="updateAlt()">
</div>
</transition>
@@ -44,7 +48,9 @@
</div>
</transition><transition name="fade">
<div v-show="loaded" class="image__caption">
- <input ref="altInput" type="text" :value="alt"
+ <input ref="altInput"
+ type="text"
+ :value="alt"
@keyup.enter="updateAlt()">
</div>
</transition>