在评论页面点击参考答案,弹出扣除金币的弹框,点击确定后,两个页面重叠了

This commit is contained in:
cxt 2017-07-21 17:21:53 +08:00
parent 9ca3112bf4
commit 2004d6a39b
3 changed files with 5 additions and 3 deletions

View File

@ -135,7 +135,6 @@
/* // 设置图片最大宽度不能超出边框
$('#task_pass_contents').find('img').css("max-width", "100%");*/
autoTextarea(document.getElementById("comment_news"),0,150);
});
$("#tab_nav_3").click(function(){
$.ajax({

View File

@ -6,6 +6,9 @@
</li>
<script>
$(function(){
autoTextarea(document.getElementById("comment_news"),0,150);
});
var click = true;
function send_dis_to_shixun(){
if($("#comment_news").val() == ""){

View File

@ -2,7 +2,7 @@ $("#myshixun_top").html('<%= escape_javascript(render :partial => 'myshixuns/mys
$("#tab_con_3").html('<%= j (render :partial => 'games/acquire_answer') %>');
$("#experience_value").html("+ 0");
$("#grade_value").html("+ 0");
$("#tab_nav_1").removeClass('tab_hover');
$("#tab_nav_2").removeClass('tab_hover');
$(".-tab-nav li").removeClass("tab_hover");
$("#tab_nav_3").addClass('tab_hover');
$(".tab-info").hide();
$("#tab_con_3").show();