summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/dispatcher.js
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2017-10-18 11:31:01 +0000
committerPhil Hughes <me@iamphill.com>2017-10-18 11:31:01 +0000
commit941c11824a191216fd43805b910cdbd172157cb0 (patch)
tree14a4dd1c7cbddd117c6fe321925915af7933c444 /app/assets/javascripts/dispatcher.js
parented194a6d4af3e51246c8cb1927c0e4cc9fea5321 (diff)
downloadgitlab-ce-941c11824a191216fd43805b910cdbd172157cb0.tar.gz
Fix Pikaday
Diffstat (limited to 'app/assets/javascripts/dispatcher.js')
-rw-r--r--app/assets/javascripts/dispatcher.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/assets/javascripts/dispatcher.js b/app/assets/javascripts/dispatcher.js
index b66652db33b..2885923aeda 100644
--- a/app/assets/javascripts/dispatcher.js
+++ b/app/assets/javascripts/dispatcher.js
@@ -86,6 +86,7 @@ import ShortcutsIssuable from './shortcuts_issuable';
import U2FAuthenticate from './u2f/authenticate';
import Members from './members';
import memberExpirationDate from './member_expiration_date';
+import DueDateSelectors from './due_date_select';
(function() {
var Dispatcher;
@@ -232,7 +233,7 @@ import memberExpirationDate from './member_expiration_date';
case 'groups:milestones:edit':
case 'groups:milestones:update':
new ZenMode();
- new gl.DueDateSelectors();
+ new DueDateSelectors();
new GLForm($('.milestone-form'), true);
break;
case 'projects:compare:show':
@@ -532,7 +533,7 @@ import memberExpirationDate from './member_expiration_date';
break;
case 'profiles:personal_access_tokens:index':
case 'admin:impersonation_tokens:index':
- new gl.DueDateSelectors();
+ new DueDateSelectors();
break;
case 'projects:clusters:show':
import(/* webpackChunkName: "clusters" */ './clusters')