Commit 4f10f5ba by liumengfei

Merge branch 'developer' into production

parents 9c8923a8 cd35381b
......@@ -9,9 +9,9 @@
require(['jquery'],function ($){
var flag = window.matchMedia("(pointer:coarse)").matches;
//footer
$("h4").click(function () {
var dis = $(this).siblings("ul").css("display");
if (flag == false){
if (flag){
$("h4").click(function () {
var dis = $(this).siblings("ul").css("display");
if (dis == "none"){
$(this).siblings("ul").css("display","block");
$(this).children("span").html('^')
......@@ -19,8 +19,8 @@
$(this).siblings("ul").css("display","none");
$(this).children("span").html('>')
}
}
});
});
}
//top search
$(".page-header .actions.search-dropdown").click(function () {
$("#search_mini_form_input").toggle();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment