diff --git a/js/script_4.8.js b/js/script_4.8.js
index c2bbc19..221a665 100644
--- a/js/script_4.8.js
+++ b/js/script_4.8.js
@@ -68,6 +68,7 @@ $(document).ready(function() {
setStyle(newStyle);
});
$('#btnParentesi').on('click', function() {
+ var fava = $("#parentesiAperta1");
$("#parentesiAperta1").attr('style', "display: d-flex;");
$("#parentesiChiusa2").attr('style', "display: d-flex;");
});
@@ -165,6 +166,8 @@ $(document).ready(function() {
});
if (tabID == 0) {
tabID++;
+ $('#sortable0').append('
(
');
+
addGramCla("#sortable0", 1, tabID, 1);
}else{
refreshClaList(tabID);
@@ -956,6 +959,7 @@ $(document).ready(function() {
claClone.attr("data-claActive", active);
claClone.attr("aria-labelledby", "cla" + tabID + "-tab");
claClone.attr("style", "");
+
$('#claBody' + tabID).append(claClone);
$('#cla' + tabID + " #grammtypesN").attr("id", "grammtypes_" + tabID);
$('#cla' + tabID + " #lemma_formaINIT").attr("id", "lemmaforma_" + tabID);
@@ -1154,10 +1158,14 @@ $(document).ready(function() {
}
$(sortableId).append(boolCond)
$(sortableId).append($(cloneLI)[0]);
+ if (tabID == 2){
+ $(sortableId).append('
)
');
+ }
if (toExpand == 1) {
$("#claCollapse" + tabID).focus();
$("#claCollapse" + tabID).trigger("click");
}
+
$("#li-cla" + tabID).fadeTo(1000, 1);
};