Added cross in contract tab 2

This commit is contained in:
tripathyr 2019-06-13 13:36:21 +05:30
parent 332e7866b9
commit 3cc65f5c17

View File

@ -420,7 +420,7 @@
function showAllParticipants(data){
document.getElementById("contract_data_display").style.opacity = 1;
var rows = data;
var html = '<div id="closeMe"><i class="fa fa-times" style="font-size:60px;color:red;"></i></div>';
@ -447,9 +447,19 @@
x[i].style.opacity=0;
}
document.getElementById("closeMe").addEventListener("click",closeContractParticipantTable);
}
function closeContractParticipantTable(){
document.getElementById("contract_data_display").style.opacity = 0;
var x = document.getElementsByClassName("hideMe");
for (var i=0;i<x.length;i++){
x[i].style.opacity=1;
}
}