Skip to content

Commit

Permalink
Merge pull request #11610 from abpframework/liangshiwei/docs
Browse files Browse the repository at this point in the history
Docs: Fix Filter problem on mobile devices
  • Loading branch information
realLiangshiwei authored Feb 17, 2022
2 parents de38c88 + 104c4c7 commit 4a000bc
Showing 1 changed file with 8 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,18 +124,15 @@
});

function handleCustomScrolls() {
var wWidth = $(window).width();
if (wWidth > 766) {
$('#sidebar-scroll').mCustomScrollbar({
theme: 'minimal',
alwaysShowScrollbar: 0,
});
$('#sidebar-scroll').mCustomScrollbar({
theme: 'minimal',
alwaysShowScrollbar: 0,
});

$('#scroll-index').mCustomScrollbar({
theme: 'minimal-dark',
alwaysShowScrollbar: 0,
});
}
$('#scroll-index').mCustomScrollbar({
theme: 'minimal-dark',
alwaysShowScrollbar: 0,
});
}

window.Toc.helpers.createNavList = function () {
Expand Down

0 comments on commit 4a000bc

Please sign in to comment.