Javascript 为什么mCustomScrollbar不能正常工作?

Javascript 为什么mCustomScrollbar不能正常工作?,javascript,jquery,jquery-plugins,mcustomscrollbar,Javascript,Jquery,Jquery Plugins,Mcustomscrollbar,我正在使用一个插件来滚动包含选项“moveDragger”的内容: 正如文档所述,此选项仅允许在拖动器的帮助下滚动内容,但在我的情况下,我可以通过触摸内容本身(如果我使用手机,则可以滑动内容)滚动内容。 如何使用水平拖动器使其仅滚动内容 test.bikstart.ru/arktika/compare.html function customScrollBar() { if($(".dropdown .close_list").length) { $(".dropdown .close_

我正在使用一个插件来滚动包含选项“moveDragger”的内容:

正如文档所述,此选项仅允许在拖动器的帮助下滚动内容,但在我的情况下,我可以通过触摸内容本身(如果我使用手机,则可以滑动内容)滚动内容。 如何使用水平拖动器使其仅滚动内容

test.bikstart.ru/arktika/compare.html

function customScrollBar() {
if($(".dropdown .close_list").length) {
    $(".dropdown .close_list").mCustomScrollbar({
        scrollInertia: 300
    });
}
if ($(".compare_table .table_responsive").length != "") {
    $(".compare_table .table_responsive").mCustomScrollbar({
        axis: "x",


        //contentTouchScroll: false,
        documentTouchScroll: false,
        moveDragger:true,


        advanced: {autoExpandHorizontalScroll: true},
        scrollInertia: 300,
    });
  }
}