课程大纲列表的js调整

This commit is contained in:
cxt 2016-07-01 14:13:40 +08:00
parent def0d79271
commit afe16cc99c
1 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@
</div><!--syllabus_class_box end-->
<%=link_to '', syllabus_path(syllabus.id), :class => 'icons_sy_setting fr', :title => '管理课程' %>
<%=link_to '', syllabus_path(syllabus.id), :class => 'icons_sy_setting fr',:target =>'_blank', :title => '查看课程' %>
</div>
<% end %>
<div>
@ -89,7 +89,7 @@
if (rightHeight < leftHeight) {
var diffHeight = leftHeight - rightHeight;
var tmpHeight = $(".syllabus_box").height() + diffHeight;
$(".syllabus_box").css("height", tmpHeight);
$(".syllabus_box").css("minHeight", tmpHeight);
}
$(".syllabus_courses_list").each(function(){