From 7dab55a84e613b8a0d78cbfa50866861cfc69f23 Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Tue, 29 Sep 2015 21:23:57 +0000 Subject: [PATCH] Fix editing player names (data was not persisted) --- bridge_results_table.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bridge_results_table.js b/bridge_results_table.js index 5a14698..e75fbd2 100644 --- a/bridge_results_table.js +++ b/bridge_results_table.js @@ -77,15 +77,15 @@ if(result) { self.players[self.players.indexOf(originalName)] = result; - th.innerText = result; } else { var index = self.players.indexOf(originalName); self.players.splice(index, 1); self.results.splice(index, 1); - self.refresh(); } + + self.refresh(); } ); } }(this); -- Gitblit v1.9.1