Skip to content

Commit

Permalink
Merge 0a42ec8 into b4a7ce1
Browse files Browse the repository at this point in the history
  • Loading branch information
seyfeb authored Apr 6, 2021
2 parents b4a7ce1 + 0a42ec8 commit 45438c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
[#668](https://github.com/nextcloud/cookbook/pull/668) @christianlupus
- Fix version of `@nextcloud/capabilities` to `1.0.2`
[#672](https://github.com/nextcloud/cookbook/pull/672) @christianlupus
- Really only show recipe-reference popup on '#'
[#676](https://github.com/nextcloud/cookbook/pull/676) @seyfeb

## 0.8.4 - 2021-03-08

Expand Down
4 changes: 2 additions & 2 deletions src/components/EditInputGroup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ export default {
if (
e.keyCode === 13 ||
e.keyCode === 10 ||
(this.referencePopupEnabled && e.keyCode === 51)
(this.referencePopupEnabled && e.key === "#")
) {
e.preventDefault()
const $li = e.currentTarget.closest("li")
Expand All @@ -251,7 +251,7 @@ export default {
.getElementsByTagName("input")[0]
.focus()
}
} else if (this.referencePopupEnabled && e.keyCode === 51) {
} else if (this.referencePopupEnabled && e.key === "#") {
e.preventDefault()
const elm = this.$refs["list-field"][$pressed_li_index]
// Check if the letter before the hash
Expand Down

0 comments on commit 45438c3

Please sign in to comment.