实训弹框高度调整

This commit is contained in:
daiao 2017-03-29 17:48:47 +08:00
parent 2aaaf5469a
commit b744b9786f
1 changed files with 2 additions and 1 deletions

View File

@ -120,7 +120,8 @@
$("#code_results").html(html);
if(data.status == 2){
var htmlvalue = "<%= j (render :partial => 'games/pass_game_show', :locals => { :game=> @game, :myshixun => @myshixun}) %>";
pop_box_new2(htmlvalue, 1920, window.innerHeight);
// 传递具体屏幕的宽高,实现不同浏览器与不同分辨率都能撑满屏幕
pop_box_new2(htmlvalue, window.innerWidth, window.innerHeight);
}
}
if(i == 30){