mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-02-22 11:25:47 -05:00
fix: Remove autofocus on the dashboard repository search box (#6734)
- No longer autofocus on the searchbox for the repository list that is on the dashboard. There is no justification for doing so. - Fixes #6653 Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6734 Reviewed-by: Otto <otto@codeberg.org> Reviewed-by: Beowulf <beowulf@beocode.eu> Reviewed-by: Gusted <gusted@noreply.codeberg.org> Co-authored-by: Natalie Klestrup Röijezon <nat@nullable.se> Co-committed-by: Natalie Klestrup Röijezon <nat@nullable.se>
This commit is contained in:
parent
5813244ff8
commit
226994a6df
1 changed files with 1 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
<script>
|
||||
import {createApp, nextTick} from 'vue';
|
||||
import {createApp} from 'vue';
|
||||
import $ from 'jquery';
|
||||
import {SvgIcon} from '../svg.js';
|
||||
import {GET} from '../modules/fetch.js';
|
||||
|
@ -103,9 +103,6 @@ const sfc = {
|
|||
const el = document.getElementById('dashboard-repo-list');
|
||||
this.changeReposFilter(this.reposFilter);
|
||||
$(el).find('.dropdown').dropdown();
|
||||
nextTick(() => {
|
||||
this.$refs.search.focus();
|
||||
});
|
||||
|
||||
this.textArchivedFilterTitles = {
|
||||
'archived': this.textShowOnlyArchived,
|
||||
|
|
Loading…
Add table
Reference in a new issue