Close navigation panel when menu option selected on small screens.
This commit is contained in:
parent
21f6b96fbe
commit
a677d2198f
@ -373,6 +373,10 @@ function locationHashChanged () {
|
||||
|
||||
setHeadline(divid)
|
||||
|
||||
if ($(window).width() < 560) {
|
||||
$('#panel').panel('close')
|
||||
}
|
||||
|
||||
$('.mainNav a').removeClass($.mobile.activeBtnClass)
|
||||
// i don't know why some li elements have those classes, but they do, so we need to remove them
|
||||
$('.mainNav li').removeClass($.mobile.activeBtnClass)
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
CACHE MANIFEST
|
||||
|
||||
# 2017-02-18:v1
|
||||
# 2017-02-18:v4
|
||||
|
||||
NETWORK:
|
||||
*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user