git://git.furryclan.net
/
furrycat
/
race-o-matic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80eee38
)
Don't invalidate the double bonus if hull isn't entered for a lap finished in the...
author
CMDR furrycat
<elite@furrycat.net>
Wed, 3 Feb 2016 12:47:08 +0000
(07:47 -0500)
committer
CMDR furrycat
<elite@furrycat.net>
Wed, 3 Feb 2016 12:47:08 +0000
(07:47 -0500)
entry.js
patch
|
blob
|
history
diff --git
a/entry.js
b/entry.js
index
50170e2
..
f42fbba
100644
(file)
--- a/
entry.js
+++ b/
entry.js
@@
-279,7
+279,7
@@
function calculate_bonus(laps, start_time, allotted_time, table) {
var input = get_cell_input(last_row(table), lap + first_column(table) - 1);
if (input.value.match(input.pattern)) {
var lap_finish_time = from_iso8601(real_date(input.value));
- if (lap_finish_time > start_time + allotted_time)
lap_ineligible = true
;
+ if (lap_finish_time > start_time + allotted_time)
break
;
}
else lap_ineligible = true;
var input = document.getElementById('lap' + String(lap) + 'hullstart');