summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/behaviors
diff options
context:
space:
mode:
authorThomas Randolph <trandolph@gitlab.com>2019-08-12 18:55:04 +0000
committerPaul Slaughter <pslaughter@gitlab.com>2019-08-12 18:55:04 +0000
commit696ae98bc504e92185a5344d67f15f5c623860a4 (patch)
tree3bcd390d19ec16af5d2712f7b246f97a8c1466f6 /app/assets/javascripts/behaviors
parentafe0cd0af619a0c5758ce6adf95a5e3782227a9f (diff)
downloadgitlab-ce-696ae98bc504e92185a5344d67f15f5c623860a4.tar.gz
Resolve "Add externalization and fix regression in shortcuts helper modal"
Diffstat (limited to 'app/assets/javascripts/behaviors')
-rw-r--r--app/assets/javascripts/behaviors/shortcuts/shortcuts_wiki.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/assets/javascripts/behaviors/shortcuts/shortcuts_wiki.js b/app/assets/javascripts/behaviors/shortcuts/shortcuts_wiki.js
index 8b7e6a56d25..208c91a1f08 100644
--- a/app/assets/javascripts/behaviors/shortcuts/shortcuts_wiki.js
+++ b/app/assets/javascripts/behaviors/shortcuts/shortcuts_wiki.js
@@ -6,6 +6,8 @@ export default class ShortcutsWiki extends ShortcutsNavigation {
constructor() {
super();
Mousetrap.bind('e', ShortcutsWiki.editWiki);
+
+ this.enabledHelp.push('.hidden-shortcut.wiki');
}
static editWiki() {