diff --git a/app/views/users/user_resource.html.erb b/app/views/users/user_resource.html.erb
index 457390834..2b88fed1c 100644
--- a/app/views/users/user_resource.html.erb
+++ b/app/views/users/user_resource.html.erb
@@ -166,9 +166,10 @@ $(".resourcesList").mousedown(function(e) {
last_line = line;
}
});
-$(".resourcesList").click(function(e) {
+$(document.body).click(function(e) {
//在列表上的任何单击事件都要恢复原来的样子
//隐藏右键菜单
+ e.preventDefault()
$("#contextMenu").hide();
document.oncontextmenu = function() {return true;}
//如果当前行为空,那么要将当前行的拿到