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
0e2c1f1c
Commit
0e2c1f1c
authored
Apr 13, 2018
by
Luke Bennett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update help_popover
parent
bdd1a46f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
ee/app/assets/javascripts/vue_shared/security_reports/components/help_popover.vue
...s/vue_shared/security_reports/components/help_popover.vue
+5
-6
No files found.
ee/app/assets/javascripts/vue_shared/security_reports/components/help_popover.vue
View file @
0e2c1f1c
<
script
>
<
script
>
import
$
from
'
jquery
'
;
import
$
from
'
jquery
'
;
import
_
from
'
underscore
'
;
import
Icon
from
'
~/vue_shared/components/icon.vue
'
;
import
Icon
from
'
~/vue_shared/components/icon.vue
'
;
import
{
inserted
}
from
'
~/feature_highlight/feature_highlight_helper
'
;
import
{
import
{
togglePopover
,
inserted
,
mouseenter
,
mouseenter
,
mouseleave
,
debouncedMouseleave
,
}
from
'
~/feature_highlight/feature_highlight_helper
'
;
togglePopover
,
}
from
'
~/shared/popover
'
;
export
default
{
export
default
{
name
:
'
SecurityReportsHelpPopover
'
,
name
:
'
SecurityReportsHelpPopover
'
,
...
@@ -32,7 +31,7 @@ export default {
...
@@ -32,7 +31,7 @@ export default {
...
this
.
options
,
...
this
.
options
,
})
})
.
on
(
'
mouseenter
'
,
mouseenter
)
.
on
(
'
mouseenter
'
,
mouseenter
)
.
on
(
'
mouseleave
'
,
_
.
debounce
(
mouseleave
,
300
))
.
on
(
'
mouseleave
'
,
debouncedMouseleave
(
300
))
.
on
(
'
inserted.bs.popover
'
,
inserted
)
.
on
(
'
inserted.bs.popover
'
,
inserted
)
.
on
(
'
show.bs.popover
'
,
()
=>
{
.
on
(
'
show.bs.popover
'
,
()
=>
{
window
.
addEventListener
(
'
scroll
'
,
togglePopover
.
bind
(
this
.
$el
,
false
),
{
once
:
true
});
window
.
addEventListener
(
'
scroll
'
,
togglePopover
.
bind
(
this
.
$el
,
false
),
{
once
:
true
});
...
...
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