summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2018-10-12 19:54:36 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2018-10-18 13:44:09 +0200
commitbdfece12b2395235eedad6123a0c40bdea65e3a1 (patch)
treec5b57059af3cb23953fa1d58d948d2fe26ad8322
parent35ef2b2737eef32e3bece18dfec6d371fa346623 (diff)
downloadnextcloud-server-bdfece12b2395235eedad6123a0c40bdea65e3a1.tar.gz
nextcloud-server-bdfece12b2395235eedad6123a0c40bdea65e3a1.zip
Fix tabbability to view-toggle, action on Enter to be fixed
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
-rw-r--r--apps/files/templates/list.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/templates/list.php b/apps/files/templates/list.php
index 74821d79316..19e93e17ec4 100644
--- a/apps/files/templates/list.php
+++ b/apps/files/templates/list.php
@@ -26,7 +26,7 @@
value="(max <?php isset($_['uploadMaxHumanFilesize']) ? p($_['uploadMaxHumanFilesize']) : ''; ?>)">
<input type="checkbox" class="hidden" id="showgridview"
<?php if($_['showgridview']) { ?>checked="checked" <?php } ?>/>
- <label id="view-toggle" for="showgridview" class="button <?php p($_['showgridview'] ? 'icon-toggle-filelist' : 'icon-toggle-pictures') ?>" title="<?php p($l->t('Toggle grid view'))?>"></label>
+ <label id="view-toggle" for="showgridview" class="button <?php p($_['showgridview'] ? 'icon-toggle-filelist' : 'icon-toggle-pictures') ?>" title="<?php p($l->t('Toggle grid view'))?>" tabindex="0"></label>
</div>
<div id="emptycontent" class="hidden">