Skip to content

Commit

Permalink
fix further modal loading on window.onclick()
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudLI committed Aug 24, 2016
1 parent 78fc9c6 commit 42c7a64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gs-carcolor/src/main/resources/carcolorapp.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ window.onclick = function(event) {
var i;
for (i=0; i < modal.length; i++){
if(modal[i].style.display == "flex") {
modal[i].style.display = "none";
document.getElementsByClassName("close")[i].click();
}
}
}

0 comments on commit 42c7a64

Please sign in to comment.