From dbbf852375a35101a11a9c6d66ea72ea46b5d4f8 Mon Sep 17 00:00:00 2001 From: Kai Date: Thu, 11 Mar 2021 07:26:48 +0100 Subject: [PATCH] fix << resp. >> bug --- neat.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/neat.js b/neat.js index 8658420..e4625b3 100644 --- a/neat.js +++ b/neat.js @@ -923,6 +923,8 @@ function setupInterface(data, file, urls) { function stepsBackward (nrows) { + if (editingTd != null) return; + if (startIndex >= nrows) { startIndex -= nrows; endIndex -= nrows; @@ -936,6 +938,9 @@ function setupInterface(data, file, urls) { } function stepsForward(nrows) { + + if (editingTd != null) return; + if (endIndex + nrows < data.data.length) { endIndex += nrows; startIndex = endIndex - displayRows;