作业描述大于20行才显示更多按钮
This commit is contained in:
parent
e6af34e9f8
commit
9f03e39e86
|
@ -34,7 +34,7 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
<script>
|
<script>
|
||||||
$(function(){if($("#bid_description_<%= homework.id%>_content").height()>38){$("#bid_show_more_des_button<%= homework.id%>").show();}});
|
$(function(){if($("#bid_description_<%= homework.id%>_content").height()>360){$("#bid_show_more_des_button<%= homework.id%>").show();}});
|
||||||
</script>
|
</script>
|
||||||
<div id="bid_description_<%= homework.id%>" class="news_description mt5">
|
<div id="bid_description_<%= homework.id%>" class="news_description mt5">
|
||||||
<div id="bid_description_<%= homework.id%>_content" class="upload_img">
|
<div id="bid_description_<%= homework.id%>_content" class="upload_img">
|
||||||
|
|
Loading…
Reference in New Issue