From 2522e5396b2b483659866dbccae3459044d5f174 Mon Sep 17 00:00:00 2001 From: cesare Date: Wed, 19 Apr 2023 13:27:12 +0200 Subject: [PATCH] attivazione/disattivazione tab grafo sintattico --- js/cesareBrowse.js | 1 + js/syntgraph.js | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/js/cesareBrowse.js b/js/cesareBrowse.js index 180c615..9e327b8 100644 --- a/js/cesareBrowse.js +++ b/js/cesareBrowse.js @@ -128,6 +128,7 @@ $( " ."+formaClass ).dblclick(function() { //showSentenceStructure (sentenceId) shownSentenceList.add(sentenceId) + } }); diff --git a/js/syntgraph.js b/js/syntgraph.js index b55b264..bcb5b27 100644 --- a/js/syntgraph.js +++ b/js/syntgraph.js @@ -40,7 +40,7 @@ document.addEventListener("dblclick", function(e){ //console.log('matches for clausole '+matches) - + $('#tab-list #vis0-tab').tab('show') resetMinimap(tmpsent) if (tmpsent==lsentid){ @@ -86,6 +86,7 @@ document.addEventListener("dblclick", function(e){ //collection[i].style.removeProperty('color'); } + $('#tab-list #vis1-tab').tab('show') updateMinimap(lsentid)