diff --git a/app/views/games/_exec_results.html.erb b/app/views/games/_exec_results.html.erb
index 22c3cb568..786820655 100644
--- a/app/views/games/_exec_results.html.erb
+++ b/app/views/games/_exec_results.html.erb
@@ -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){