wangchuanjin 9 anni fa
parent
commit
d2488f640d
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  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){