From 21c68b3f8c6c9a95af8235fee852f1f5ac1d0a21 Mon Sep 17 00:00:00 2001 From: CMDR furrycat Date: Mon, 25 Jan 2016 05:47:53 -0500 Subject: [PATCH] Typo. --- entry.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entry.js b/entry.js index fd85cb9..1e16771 100644 --- a/entry.js +++ b/entry.js @@ -437,7 +437,7 @@ function do_stats(table) { var lap_distance = parseFloat(table.rows[summary_row(table)].cells[distance_column(table)].firstChild.innerHTML.replace(/Ly$/, '')); var total_distance = lap_distance * complete_laps; var input = get_cell_input(last_row(table), last_lap); - if (! input.value.match(input.placeholder)) { + if (! input.value.match(input.pattern)) { /* Last lap incomplete. */ for (var i = last_station; valid_row(table, i, 1); i--) { var cell = document.getElementById('distance' + String(i - first_row(table) + 1)); -- 2.7.4