Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Political Memory
blog-memopol
Commits
d74e1f42
Commit
d74e1f42
authored
Dec 04, 2016
by
Jamesie Pic
Browse files
Show menu if width increases again
parent
c655d500
Changes
1
Hide whitespace changes
Inline
Side-by-side
theme/js/main.js
View file @
d74e1f42
$
(
document
).
ready
(
function
()
{
$
(
document
).
ready
(
function
()
{
function
hideMenuOnMobile
()
{
function
hideMenuOnMobile
()
{
if
(
$
(
window
).
width
()
<
768
)
{
if
(
$
(
window
).
width
()
<
768
)
{
$
(
'
aside ul
'
).
hide
();
$
(
'
aside .menus
'
).
hide
();
}
else
{
$
(
'
aside .menus
'
).
show
();
}
}
}
}
...
...
Write
Preview
Supports
Markdown
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