bug fixed

This commit is contained in:
Van 2015-01-28 16:23:53 +08:00
parent e3c2826183
commit cddab905c2
1 changed files with 2 additions and 1 deletions

View File

@ -491,10 +491,11 @@ var wide = {
// 点击隐藏弹出层 // 点击隐藏弹出层
$("body").bind("mouseup", function (event) { $("body").bind("mouseup", function (event) {
//fix issue#200 右键文件树失效 // MAC 右键文件树失效
if (event.which === 3) { if (event.which === 3) {
return false; return false;
} }
$(".frame").hide(); $(".frame").hide();
if (!($(event.target).closest(".frame").length === 1 || event.target.className === "frame")) { if (!($(event.target).closest(".frame").length === 1 || event.target.className === "frame")) {