Finished adding backend features to frontend

This commit is contained in:
2023-05-17 11:05:03 +02:00
parent 12f1e04487
commit 3d84e513fa
3 changed files with 13 additions and 24 deletions

View File

@@ -81,6 +81,16 @@ function showHeadersHistory(element){
$('.popup-flex').removeClass('hiddable-container');
document.getElementById('header-history-table-body').innerHTML = historyTable;
}
window.addEventListener(
'click' ,
(clickedElement) => {
console.log(clickedElement.target);
if(!document.getElementById('header-history-popup').contains(clickedElement.target) && clickedElement.target.className == 'popup-flex' ) {
$('.popup-flex').addClass('hiddable-container');
}
}
);
function focusInTip(element){
showTip(element);