Skip to content

Commit

Permalink
自动清空
Browse files Browse the repository at this point in the history
  • Loading branch information
heyunpeng committed Aug 19, 2015
1 parent 41333e5 commit d98f372
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/views/combinationgame/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ function xprint() {
总投注额:<span style="color:red;margin-right:10px" id="coinnums">0</span>
<%= f.hidden_field :totalcoin, id:"cointotal", value:0 %>
<button type="button", style="height:20px;width:60px;margin-right:10px", onclick="resetcoin()">重填</button>
<%= f.submit "下注", style:"height:20px;width:60px", :onclick=>'return confirm("确认下注");'%>
<%= f.submit "下注", style:"height:20px;width:60px", :onclick=>'var r=confirm("确认下注");if(r) resetcoin();return r'%>
</div></td>
</tfoot>
<%end%>
Expand Down
2 changes: 1 addition & 1 deletion app/views/doublegame/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ function xprint() {
总投注额:<span style="color:red;margin-right:10px" id="coinnums">0</span>
<%= f.hidden_field :totalcoin, id:"cointotal", value:0 %>
<button type="button", style="height:20px;width:60px;margin-right:10px", onclick="resetcoin()">重填</button>
<%= f.submit "下注", style:"height:20px;width:60px", :onclick=>'return confirm("确认下注");'%>
<%= f.submit "下注", style:"height:20px;width:60px", :onclick=>'var r=confirm("确认下注");if(r) resetcoin();return r'%>
</div></td>
</tfoot>
<%end%>
Expand Down
2 changes: 1 addition & 1 deletion app/views/singlegame/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ function xprint() {
总投注额:<span style="color:red;margin-right:10px" id="coinnums">0</span>
<%= f.hidden_field :totalcoin, id:"cointotal", value:0 %>
<button type="button", style="height:20px;width:60px;margin-right:10px", onclick="resetcoin()">重填</button>
<%= f.submit "下注", style:"height:20px;width:60px", :onclick=>'return confirm("确认下注");'%>
<%= f.submit "下注", style:"height:20px;width:60px", :onclick=>'var r=confirm("确认下注");if(r) resetcoin();return r'%>
</div></td>
</tfoot>
<%end%>
Expand Down

0 comments on commit d98f372

Please sign in to comment.