Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tttie.cz
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
TTtie
tttie.cz
Commits
13dc1836
Verified
Commit
13dc1836
authored
1 year ago
by
TTtie
Browse files
Options
Downloads
Patches
Plain Diff
correctly switch the icon when toggling menu
parent
b542b92d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#2949
passed
1 year ago
Stage: test
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
js/activateNav.js
+1
-1
1 addition, 1 deletion
js/activateNav.js
src/@include/head.njk
+1
-1
1 addition, 1 deletion
src/@include/head.njk
with
2 additions
and
2 deletions
js/activateNav.js
+
1
−
1
View file @
13dc1836
...
...
@@ -8,7 +8,7 @@ document.addEventListener("DOMContentLoaded", () => {
const
targetElement
=
document
.
getElementById
(
burger
.
dataset
.
target
);
burger
.
classList
.
toggle
(
"
navbar__menu--active
"
);
const
maybeIcon
=
burger
.
querySelector
(
"
:
root
> i.fa
"
);
const
maybeIcon
=
burger
.
querySelector
(
"
:
scope
> i.fa
s
"
);
if
(
maybeIcon
)
{
if
(
maybeIcon
.
classList
.
contains
(
"
fa-bars
"
))
{
maybeIcon
.
classList
.
replace
(
"
fa-bars
"
,
"
fa-xmark
"
);
...
...
This diff is collapsed.
Click to expand it.
src/@include/head.njk
+
1
−
1
View file @
13dc1836
{% macro headTags() %}<link href="/static/style.normalize.d45aef83.css" rel="stylesheet"><link href="/static/style.4853d370.css" rel="stylesheet"><link href="/static/style.fa.1cd4a1a9.css" rel="stylesheet">{% endmacro %} {% macro bodyTags() %}<script defer="" src="/static/activateNav.4611fcd3.js"></script>{% endmacro %}
\ No newline at end of file
{% macro headTags() %}<link href="/static/style.normalize.d45aef83.css" rel="stylesheet"><link href="/static/style.89952a51.css" rel="stylesheet"><link href="/static/style.fa.1cd4a1a9.css" rel="stylesheet">{% endmacro %} {% macro bodyTags() %}<script defer="" src="/static/activateNav.be7e364f.js"></script>{% endmacro %}
\ No newline at end of file
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