summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/pages
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2018-02-20 02:19:00 -0600
committerMike Greiling <mike@pixelcog.com>2018-02-21 00:06:14 -0600
commit3b359ffe57e9ee632b6ebae5edc3de1230b06719 (patch)
tree24f93c6816c6315c19907429145783f61b5dbb7e /app/assets/javascripts/pages
parentb679bc9cee58916c23b04ece45719688e25ccf46 (diff)
downloadgitlab-ce-3b359ffe57e9ee632b6ebae5edc3de1230b06719.tar.gz
migrate sessions:* to static bundle
Diffstat (limited to 'app/assets/javascripts/pages')
-rw-r--r--app/assets/javascripts/pages/sessions/index.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/assets/javascripts/pages/sessions/index.js b/app/assets/javascripts/pages/sessions/index.js
index 54f4e56359a..c2c069d1ca8 100644
--- a/app/assets/javascripts/pages/sessions/index.js
+++ b/app/assets/javascripts/pages/sessions/index.js
@@ -1,5 +1,3 @@
import initU2F from '../../shared/sessions/u2f';
-export default () => {
- initU2F();
-};
+document.addEventListener('DOMContentLoaded', initU2F);