Skip to content

Commit

Permalink
Merge pull request #166 from h3poteto/fix_keyevent
Browse files Browse the repository at this point in the history
fix: Reset ctrl key event handler when close new toot modal
  • Loading branch information
h3poteto authored Mar 31, 2018
2 parents cc52ebd + f6e162d commit 6189308
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/renderer/components/TimelineSpace/Modals/NewToot.vue
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ export default {
close () {
this.resetImage()
this.$store.dispatch('TimelineSpace/Modals/NewToot/changeModal', false)
this.ctrlPressed = false
},
keydown (e) {
if (e.keyCode === 17 || e.keyCode === 93) {
Expand Down

0 comments on commit 6189308

Please sign in to comment.