mirror of https://github.com/nextcloud/bookmarks
Fix input.focus error
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
parent
3db5ab3125
commit
16e872ec81
|
@ -154,7 +154,9 @@ export default {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.$refs.input.focus()
|
if (typeof this.$refs.input !== 'undefined') {
|
||||||
|
this.$refs.input.focus()
|
||||||
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
async onRenameSubmit(event) {
|
async onRenameSubmit(event) {
|
||||||
|
|
Loading…
Reference in New Issue