diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-10-23 17:49:56 +0300 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-10-23 18:00:47 +0300 |
commit | 8013dab044e7dabb2b61c2aa7e0d47d095ad8e40 (patch) | |
tree | 0cfd1370d3527dd894683b1b7ed3612af06cb0b6 /apps/files/templates | |
parent | cf57df6e734b57638480451e92bf22cebda70f26 (diff) |
Allow focus on input with keyboard
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files/templates')
-rw-r--r-- | apps/files/templates/list.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/files/templates/list.php b/apps/files/templates/list.php index 19e93e17ec4..27403594368 100644 --- a/apps/files/templates/list.php +++ b/apps/files/templates/list.php @@ -24,9 +24,10 @@ <?php endif;?> <input type="hidden" class="max_human_file_size" value="(max <?php isset($_['uploadMaxHumanFilesize']) ? p($_['uploadMaxHumanFilesize']) : ''; ?>)"> - <input type="checkbox" class="hidden" id="showgridview" + <input type="checkbox" class="hidden-visually" 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'))?>" tabindex="0"></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'))?>"></label> </div> <div id="emptycontent" class="hidden"> |