      queryInfo.getTable(t).then(table => {
                        openTable(table);
                    });
                    document.querySelectorAll('.selected').forEach(elt => {
                        elt.classList.remove('selected');
                    });
                    e.target.classList.add('selected');
                };
            });
            queriesElement.appendChild(queryElt);
            return queryElt;
        }
    }
    var currentLeftTable;
    var currentRightTable;
    v