Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
a6fe0099
Commit
a6fe0099
authored
Nov 13, 2020
by
Jannik Lehmann
Committed by
Phil Hughes
Nov 13, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove DOMContentLoaded EventListener
parent
c22d72d1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
ee/app/assets/javascripts/pages/security/dashboard/show/index.js
...assets/javascripts/pages/security/dashboard/show/index.js
+1
-3
ee/changelogs/unreleased/defer-optimization-for-security-dashboard-show.yml
...leased/defer-optimization-for-security-dashboard-show.yml
+5
-0
No files found.
ee/app/assets/javascripts/pages/security/dashboard/show/index.js
View file @
a6fe0099
import
initSecurityCharts
from
'
ee/security_dashboard/security_charts_init
'
;
import
initSecurityCharts
from
'
ee/security_dashboard/security_charts_init
'
;
import
{
DASHBOARD_TYPES
}
from
'
ee/security_dashboard/store/constants
'
;
import
{
DASHBOARD_TYPES
}
from
'
ee/security_dashboard/store/constants
'
;
document
.
addEventListener
(
'
DOMContentLoaded
'
,
()
=>
{
initSecurityCharts
(
document
.
getElementById
(
'
js-security
'
),
DASHBOARD_TYPES
.
INSTANCE
);
initSecurityCharts
(
document
.
getElementById
(
'
js-security
'
),
DASHBOARD_TYPES
.
INSTANCE
);
});
ee/changelogs/unreleased/defer-optimization-for-security-dashboard-show.yml
0 → 100644
View file @
a6fe0099
---
title
:
Removed DOMContentLoaded Eventlistener from ee/app/assets/javascripts/pages/security/dashboard/show/index.js
merge_request
:
47515
author
:
type
:
changed
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment