Update app.js
parent
517ff25fc2
commit
36ae60a81a
|
|
@ -206,10 +206,6 @@ function draw() {
|
||||||
}
|
}
|
||||||
if (drewcur) {
|
if (drewcur) {
|
||||||
// the current token has been drawn - schedule a redraw
|
// the current token has been drawn - schedule a redraw
|
||||||
clearTimeout(state.idletimer);
|
|
||||||
if (state.drawtimer) {
|
|
||||||
clearTimeout(state.drawtimer);
|
|
||||||
}
|
|
||||||
if (tokens[state.curtoken].period > 0) {
|
if (tokens[state.curtoken].period > 0) {
|
||||||
timerdly = (state.otp == calculating) ? 1 : 1000; // timed
|
timerdly = (state.otp == calculating) ? 1 : 1000; // timed
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue