hide menu dropdown after importing opml
This commit is contained in:
parent
934b95831e
commit
44a0d5ce12
2 changed files with 6 additions and 1 deletions
|
|
@ -489,6 +489,7 @@ var vm = new Vue({
|
|||
importOPML: function(event) {
|
||||
var input = event.target
|
||||
var form = document.querySelector('#opml-import-form')
|
||||
this.$refs.menuDropdown.hide()
|
||||
api.upload_opml(form).then(function() {
|
||||
input.value = ''
|
||||
vm.refreshFeeds()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue