From 8eaae738956fe5eacb9246998f7c9663720f6bbc Mon Sep 17 00:00:00 2001 From: nicola Date: Sat, 14 Dec 2024 19:22:03 +0100 Subject: [PATCH] minor bug fixed --- js/script_4.8.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/js/script_4.8.js b/js/script_4.8.js index 8338cb2..d8d956e 100644 --- a/js/script_4.8.js +++ b/js/script_4.8.js @@ -159,8 +159,12 @@ $(document).ready(function() { $("#collapseLogic").collapse('show'); }); }); - tabID++; - addGramCla("#sortable0", 1, tabID, 1); + if (tabID == 0) { + tabID++; + addGramCla("#sortable0", 1, tabID, 1); + }else{ + refreshClaList(tabID); + } $('#collapseLogic').attr('style', "display: d-flex;"); });