hide menu dropdown after importing opml

This commit is contained in:
Nazar Kanaev
2020-08-18 20:32:27 +01:00
parent 934b95831e
commit 44a0d5ce12
2 changed files with 6 additions and 1 deletions

View File

@@ -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()