From a1229ab8435c07372f4237539eb7b7ff649b408e Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Fri, 24 Sep 2021 20:26:19 +1000 Subject: [PATCH] dont need to worry about taking 1 for folder selects, I dont know why I did need it, but doesnt seem too... nervous this will cause me grief somewhere else? --- internal/js/files_support.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/internal/js/files_support.js b/internal/js/files_support.js index 72e4574..b4cbb3c 100644 --- a/internal/js/files_support.js +++ b/internal/js/files_support.js @@ -170,12 +170,6 @@ function DoSel(e, el) st=Number($('.highlight').first().attr('ecnt')) end=Number($('.highlight').last().attr('ecnt')) clicked=Number($(el).attr('ecnt')) - if( ! $('#folders').value ) - { - st -= 1 - end -= 1 - clicked -= 1 - } // if we shift-click first element, then st/end are NaN, so just highlightthe one clicked if( isNaN(st) ) {