From 9858c9de18fdec5ee57d368b1afcbfc603420d54 Mon Sep 17 00:00:00 2001 From: Kai Date: Wed, 10 Mar 2021 18:41:41 +0100 Subject: [PATCH] fix slider bug --- neat.js | 4 ++++ 1 file changed, 4 insertions(+) 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;