Commit 744e367f authored by Mike Greiling's avatar Mike Greiling

Merge branch 'remove-IIFEs-from-jira_connect.js' into 'master'

remove IIFE from jira_connect.js

See merge request gitlab-org/gitlab!19248
parents 3cd7f380 fc1301db
...@@ -9,8 +9,7 @@ ...@@ -9,8 +9,7 @@
* hence any code written here needs to be IE11+ compatible (no fully ES6) * hence any code written here needs to be IE11+ compatible (no fully ES6)
*/ */
(function() { function onLoaded() {
document.addEventListener('DOMContentLoaded', function() {
var reqComplete = function() { var reqComplete = function() {
AP.navigator.reload(); AP.navigator.reload();
}; };
...@@ -53,5 +52,5 @@ ...@@ -53,5 +52,5 @@
.fail(reqFailed); .fail(reqFailed);
}); });
}); });
}); }
})(); document.addEventListener('DOMContentLoaded', onLoaded);
---
title: Remove IIFEs from jira_connect.js file
merge_request: 19248
author: nuwe1
type: other
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment