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
f769f539
Commit
f769f539
authored
May 10, 2019
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes next badge being always visible
parent
4828ef52
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
app/assets/javascripts/main.js
app/assets/javascripts/main.js
+1
-1
changelogs/unreleased/61550-next-badge.yml
changelogs/unreleased/61550-next-badge.yml
+5
-0
No files found.
app/assets/javascripts/main.js
View file @
f769f539
...
@@ -147,7 +147,7 @@ function deferredInitialisation() {
...
@@ -147,7 +147,7 @@ function deferredInitialisation() {
const
canaryBadge
=
document
.
querySelector
(
'
.js-canary-badge
'
);
const
canaryBadge
=
document
.
querySelector
(
'
.js-canary-badge
'
);
const
canaryLink
=
document
.
querySelector
(
'
.js-canary-link
'
);
const
canaryLink
=
document
.
querySelector
(
'
.js-canary-link
'
);
if
(
canaryBadge
)
{
if
(
canaryBadge
)
{
canaryBadge
.
classList
.
remove
(
'
hidden
'
);
canaryBadge
.
classList
.
add
(
'
hidden
'
);
}
}
if
(
canaryLink
)
{
if
(
canaryLink
)
{
canaryLink
.
classList
.
add
(
'
hidden
'
);
canaryLink
.
classList
.
add
(
'
hidden
'
);
...
...
changelogs/unreleased/61550-next-badge.yml
0 → 100644
View file @
f769f539
---
title
:
Fixes next badge being always visible
merge_request
:
author
:
type
:
fixed
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