Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-12-05 18:10:08 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-12-05 18:10:08 +0300
commit6659634b2bdc3ba362574541985c6852ad1574a4 (patch)
tree495e2462917ef620d379d0b7296d44e6c4b84bbc /app/assets/javascripts/issues
parentb35f7ce1f3f12bf7b673c9d29002e14d0c83f35f (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/issues')
-rw-r--r--app/assets/javascripts/issues/index.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/assets/javascripts/issues/index.js b/app/assets/javascripts/issues/index.js
index eea5207801c..b7b39d0ce08 100644
--- a/app/assets/javascripts/issues/index.js
+++ b/app/assets/javascripts/issues/index.js
@@ -1,6 +1,7 @@
import $ from 'jquery';
import IssuableForm from 'ee_else_ce/issuable/issuable_form';
import IssuableLabelSelector from '~/issuable/issuable_label_selector';
+import { addShortcutsExtension } from '~/behaviors/shortcuts';
import ShortcutsIssuable from '~/behaviors/shortcuts/shortcuts_issuable';
import ShortcutsNavigation from '~/behaviors/shortcuts/shortcuts_navigation';
import { initIssuableSidebar } from '~/issuable';
@@ -22,7 +23,7 @@ export function initForm() {
new IssuableForm($('.issue-form')); // eslint-disable-line no-new
IssuableLabelSelector();
new LabelsSelect(); // eslint-disable-line no-new
- new ShortcutsNavigation(); // eslint-disable-line no-new
+ addShortcutsExtension(ShortcutsNavigation);
initTitleSuggestions();
initTypePopover();
@@ -32,7 +33,7 @@ export function initForm() {
export function initShow() {
new Issue(); // eslint-disable-line no-new
- new ShortcutsIssuable(); // eslint-disable-line no-new
+ addShortcutsExtension(ShortcutsIssuable);
new ZenMode(); // eslint-disable-line no-new
initAwardsApp(document.getElementById('js-vue-awards-block'));