Skip to content

Commit bfa009a

Browse files
Small markup change
1 parent e4f5a9b commit bfa009a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

PictureInput.vue

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
<template>
22
<div ref="container" id="picture-input" class="picture-input">
3-
<div v-if="!supportsUpload">
4-
<p v-html="strings.upload"></p>
5-
</div>
3+
<div v-if="!supportsUpload" v-html="strings.upload"></div>
64
<div v-else-if="supportsPreview">
75
<div class="preview-container"
86
:style="{maxWidth: previewWidth + 'px', height: previewHeight + 'px'}">
@@ -70,7 +68,7 @@ export default {
7068
strings: {
7169
default: function () {
7270
return {
73-
upload: 'Your device does not support file uploading.',
71+
upload: '<p>Your device does not support file uploading.</p>',
7472
drag: 'Drag an image or <br>click here to select a file',
7573
tap: 'Tap here to select a photo <br>from your gallery',
7674
change: 'Change Photo',

0 commit comments

Comments
 (0)