我的问题是,当我的手机上按下按钮时,它什么也没做。当以相同的分辨率点击PC时,它没有问题。我不知道该怎么做,我还没有看到其他地方的修复。
这是它使用的网站,因此您可以直接看到问题:http://www.briansamu.com
// This the jQuery
$(document).ready(function() {
$(".burger-nav").on("click", function() {
$("header nav ul").toggleClass("open");
// The open class sets the height of the UL to: height: auto;
});
});
谢谢你提前。