diff --git a/neat.js b/neat.js index aebffce..8658420 100644 --- a/neat.js +++ b/neat.js @@ -970,6 +970,10 @@ function setupInterface(data, file, urls) { $("#docpos").change( function(evt) { + if (editingTd != null) { + editingTd.finish(true); + } + if (startIndex == data.data.length - this.value) return; startIndex = data.data.length - this.value;