Skip to content

Commit

Permalink
修改重置时间
Browse files Browse the repository at this point in the history
  • Loading branch information
heyunpeng committed Aug 3, 2015
1 parent f2a81a7 commit 5a68b01
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/views/flashview/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,7 @@ $(document).ready(
setInterval(flash, 1000);
});
function flash(){
if (nextseconds == 0 || nextseconds % 60 == 0 || nextseconds == 420
|| nextseconds == 585 || nextseconds == 580 || nextseconds == 570){
if (nextseconds == 0 || nextseconds % 60 == 0 || nextseconds == 585 || nextseconds == 580 || nextseconds == 570){
$.ajax({
url: 'jsondata',
type: 'GET',
Expand All @@ -102,7 +101,7 @@ $(document).ready(
}
else
{
if (nextseconds == 420)
if (nextseconds == 60)
{
thisMovie('luck').reset();
thisMovie('luck').nowNum(json.nextnum);
Expand Down

0 comments on commit 5a68b01

Please sign in to comment.