From 246a2aa9b45e57a782e5c5770dda708c9eb37536 Mon Sep 17 00:00:00 2001 From: Kai Date: Mon, 23 Mar 2020 08:14:00 +0100 Subject: [PATCH] fix #38 --- neat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neat.js b/neat.js index a7ca4c2..5494a3c 100644 --- a/neat.js +++ b/neat.js @@ -449,7 +449,7 @@ function setupInterface(data, file, urls) { $('.type_select').click( function(event) { - editingTd.data = $(event.target).text(); + editingTd.data = $(event.target).text().trim(); editingTd.finish(true); });