Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hypha
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ots
hypha
Commits
9a085dc2
Commit
9a085dc2
authored
6 years ago
by
Todd Dembrey
Browse files
Options
Downloads
Patches
Plain Diff
Gh-979: correct toggle target class
parent
b304f379
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
opentech/static_src/src/javascript/apply/toggle-reviewers.js
+2
-2
2 additions, 2 deletions
opentech/static_src/src/javascript/apply/toggle-reviewers.js
with
2 additions
and
2 deletions
opentech/static_src/src/javascript/apply/toggle-reviewers.js
+
2
−
2
View file @
9a085dc2
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
'
use strict
'
;
'
use strict
'
;
// get all the reviewers that are missing
// get all the reviewers that are missing
const
reviewers
=
Array
.
prototype
.
slice
.
call
(
$
(
'
.js-reviews-sidebar
'
).
find
(
'
tr.
hidden.no-response
'
));
const
reviewers
=
Array
.
prototype
.
slice
.
call
(
$
(
'
.js-reviews-sidebar
'
).
find
(
'
.is-
hidden.no-response
'
));
$
(
'
.js-toggle-reviewers
'
).
click
(
function
(
e
)
{
$
(
'
.js-toggle-reviewers
'
).
click
(
function
(
e
)
{
e
.
preventDefault
();
e
.
preventDefault
();
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
// show/hide the reviewers
// show/hide the reviewers
function
toggleReviewers
(
reviewers
)
{
function
toggleReviewers
(
reviewers
)
{
reviewers
.
forEach
(
reviewer
=>
{
reviewers
.
forEach
(
reviewer
=>
{
$
(
reviewer
).
toggleClass
(
'
hidden
'
);
$
(
reviewer
).
toggleClass
(
'
is-
hidden
'
);
});
});
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment