wangchuanjin 9 年之前
父节点
当前提交
d2488f640d
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      core/src/web/templates/swordfish/wxtoolbar.html

+ 2 - 1
core/src/web/templates/swordfish/wxtoolbar.html

@@ -95,7 +95,6 @@ $(function(){
 			if($(this).children(".toolbar-popover").is(":hidden")){
 				$(".toolbar-popover-mask").hide();
 				$("html,body").removeClass("overflow-hidden");
-
 			}else{
 				$(".toolbar-popover-mask").show();
 				$("html,body").addClass("overflow-hidden");
@@ -120,6 +119,8 @@ $(function(){
 			}
 			obj.parents(".toolbar-popover").hide();
 			obj.removeClass("active");
+			$(".toolbar-popover-mask").hide();
+			$("html,body").removeClass("overflow-hidden");
 		},100);
 	});
 	$(".toolbar-popover-mask").click(function(e){