mirror of https://github.com/docker/docs.git
Add scrolling to hamburger menu
This commit is contained in:
parent
3f7d989c9e
commit
6ea1e97916
|
@ -171,11 +171,13 @@ $(".navbar-toggle").click(function(){
|
|||
$(".sidebar, .sidebar-home").each(function(){
|
||||
if($(this).hasClass("hidden-sm")) {
|
||||
$(this).removeClass("hidden-sm");
|
||||
$(this).css("overflow-y","scroll");
|
||||
} else {
|
||||
$(this).addClass("hidden-sm");
|
||||
}
|
||||
if($(this).hasClass("hidden-xs")) {
|
||||
$(this).removeClass("hidden-xs");
|
||||
$(this).css("overflow-y","scroll");
|
||||
} else {
|
||||
$(this).addClass("hidden-xs");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue