diff --git a/app/views/files/index.html.erb b/app/views/files/index.html.erb
index 489c0357d..eb2597127 100644
--- a/app/views/files/index.html.erb
+++ b/app/views/files/index.html.erb
@@ -223,6 +223,7 @@
});
}
+ <%= if @course %>
var tagNameHtml; //当前双击的链接的父节点的html
var tagName; //标签的值
var parentCssBorder; //当前双击的链接的父节点
@@ -271,6 +272,7 @@
}
}
});
+ <%end %>