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
6c8c4de6
Commit
6c8c4de6
authored
May 07, 2020
by
Enrique Alcantara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check exception class in parent element
parent
2d363957
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
app/assets/javascripts/vue_shared/components/sidebar/labels_select_vue/labels_select_root.vue
...mponents/sidebar/labels_select_vue/labels_select_root.vue
+5
-1
No files found.
app/assets/javascripts/vue_shared/components/sidebar/labels_select_vue/labels_select_root.vue
View file @
6c8c4de6
...
@@ -164,7 +164,11 @@ export default {
...
@@ -164,7 +164,11 @@ export default {
'
js-dropdown-button
'
,
'
js-dropdown-button
'
,
'
js-btn-cancel-create
'
,
'
js-btn-cancel-create
'
,
'
js-sidebar-dropdown-toggle
'
,
'
js-sidebar-dropdown-toggle
'
,
].
some
(
className
=>
target
?.
classList
.
contains
(
className
));
].
some
(
className
=>
target
?.
classList
.
contains
(
className
)
||
target
?.
parentElement
.
classList
.
contains
(
className
),
);
const
hadExceptionParent
=
[
'
.js-btn-back
'
,
'
.js-labels-list
'
].
some
(
const
hadExceptionParent
=
[
'
.js-btn-back
'
,
'
.js-labels-list
'
].
some
(
className
=>
$
(
target
).
parents
(
className
).
length
,
className
=>
$
(
target
).
parents
(
className
).
length
,
...
...
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