linkEditable bug fix
This commit is contained in:
parent
9a7db9d7d2
commit
46599a1ec0
@ -44,8 +44,10 @@ export default {
|
|||||||
},
|
},
|
||||||
updated() {
|
updated() {
|
||||||
console.log('LinkEditable updated', this.links, this.$refs.links_list);
|
console.log('LinkEditable updated', this.links, this.$refs.links_list);
|
||||||
this.$refs.links_list.lastChild.querySelector('input.new.title').value = null;
|
if (this.$refs.links_list.lastElementChild) {
|
||||||
this.$refs.links_list.lastChild.querySelector('input.new.url').value = null;
|
this.$refs.links_list.lastElementChild.querySelector('input.new.title').value = null;
|
||||||
|
this.$refs.links_list.lastElementChild.querySelector('input.new.url').value = null;
|
||||||
|
}
|
||||||
},
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user