Finished adding backend features to frontend
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user