Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
theme
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
ok1kvk.cz
theme
Commits
e19a3afb
Verified
Commit
e19a3afb
authored
9 years ago
by
Isabella Skořepová
Browse files
Options
Downloads
Patches
Plain Diff
Fix sidenav not showing
parent
c282c287
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
templates/partials/header.html.nunjucks
+22
-19
22 additions, 19 deletions
templates/partials/header.html.nunjucks
with
22 additions
and
19 deletions
templates/partials/header.html.nunjucks
+
22
−
19
View file @
e19a3afb
...
...
@@ -68,26 +68,29 @@
</div>
</nav>
<script>
$
(
"
#o-nas
"
).
click
(
function
()
{
var
body
=
$
(
"
body
"
);
body
.
removeClass
(
"
show-subnav2
"
);
if
(
body
.
hasClass
(
"
show-subnav1
"
))
body
.
removeClass
(
"
show-subnav1
"
);
else
body
.
addClass
(
"
show-subnav1
"
)
});
$
(
"
#clanky
"
).
click
(
function
()
{
var
body
=
$
(
"
body
"
);
body
.
removeClass
(
"
show-subnav1
"
);
if
(
body
.
hasClass
(
"
show-subnav2
"
))
$
(
document
).
ready
(
function
()
{
$
(
"
.menu-icon
"
).
sideNav
();
$
(
"
#o-nas
"
).
click
(
function
()
{
var
body
=
$
(
"
body
"
);
body
.
removeClass
(
"
show-subnav2
"
);
else
body
.
addClass
(
"
show-subnav2
"
)
});
$
(
"
body
"
).
click
(
function
(
e
)
{
if
(
!
(
$
(
e
.
target
).
parents
(
"
a
"
).
length
||
$
(
e
.
target
).
is
(
"
a
"
)))
{
$
(
"
body
"
).
removeClass
(
"
show-subnav2
"
).
removeClass
(
"
show-subnav1
"
);
}
if
(
body
.
hasClass
(
"
show-subnav1
"
))
body
.
removeClass
(
"
show-subnav1
"
);
else
body
.
addClass
(
"
show-subnav1
"
)
});
$
(
"
#clanky
"
).
click
(
function
()
{
var
body
=
$
(
"
body
"
);
body
.
removeClass
(
"
show-subnav1
"
);
if
(
body
.
hasClass
(
"
show-subnav2
"
))
body
.
removeClass
(
"
show-subnav2
"
);
else
body
.
addClass
(
"
show-subnav2
"
)
});
$
(
"
body
"
).
click
(
function
(
e
)
{
if
(
!
(
$
(
e
.
target
).
parents
(
"
a
"
).
length
||
$
(
e
.
target
).
is
(
"
a
"
)))
{
$
(
"
body
"
).
removeClass
(
"
show-subnav2
"
).
removeClass
(
"
show-subnav1
"
);
}
});
});
</script>
<!-- Side nav -->
...
...
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