double $
is due to the use of framework7
$$(".drop-menu-backdrop").on("click", function () {
$$("-sharpopen_drop_menu").removeClass("open").find("i").text("keyboard_arrow_down");
$$(".drop-menu").css("height", 0);
$$(".drop-menu-backdrop").hide();
});
$$(".drop-menu").on("click", "ul>li", function () {
var _this = $$(this);
_this.addClass("active");
_this.siblings().removeClass("active");
$$(".drop-menu-backdrop").click();
// $$(".drop-menu-backdrop").trigger("click");
});
Why can"t you execute the sentence $$(".drop-menu-backdrop"). Click ();
), not even trigger
? It can be executed in the browser console
.
ask the elder to solve the problem ~! Thank you