summaryrefslogtreecommitdiffstats
path: root/apps/accessibility/src/components
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-02-21 16:31:50 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-02-21 16:31:50 +0100
commit50e5f7ca9e65ecf6744351f3c746c69981b83f76 (patch)
tree1302b26fb05a8677f42093342a88f952a423c972 /apps/accessibility/src/components
parent0816123f67c57487072e3b6208bbc3017ada175c (diff)
downloadnextcloud-server-50e5f7ca9e65ecf6744351f3c746c69981b83f76.tar.gz
nextcloud-server-50e5f7ca9e65ecf6744351f3c746c69981b83f76.zip
Fix html rendering and default checkbox
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/accessibility/src/components')
-rw-r--r--apps/accessibility/src/components/itemPreview.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/accessibility/src/components/itemPreview.vue b/apps/accessibility/src/components/itemPreview.vue
index ecd71ab3944..a27fa8cac39 100644
--- a/apps/accessibility/src/components/itemPreview.vue
+++ b/apps/accessibility/src/components/itemPreview.vue
@@ -4,7 +4,7 @@
<div class="preview-description">
<h3>{{preview.title}}</h3>
<p>{{preview.text}}</p>
- <input type="checkbox" class="checkbox" :id="'accessibility-' + preview.id" v-model="selected" />
+ <input type="checkbox" class="checkbox" :id="'accessibility-' + preview.id" :checked="selected === preview.id" />
<label :for="'accessibility-' + preview.id" @click="selectItem">{{t('accessibility', 'Enable')}} {{preview.title.toLowerCase()}}</label>
</div>
</div>