Skip to content

Commit

Permalink
fix modal close
Browse files Browse the repository at this point in the history
  • Loading branch information
esteinborn authored Nov 21, 2024
1 parent 223eaed commit c1c9ff7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion preview/js/quickref.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function init() {
fill_section(data_environment_vision, "environment-vision", "Environment");
fill_section(data_environment_cover, "environment-cover", "Environment");

var modal = document.getElementById("modal");
var modal = document.getElementByClassName("modal-backdrop");
modal.onclick = hide_modal;
}

Expand Down

0 comments on commit c1c9ff7

Please sign in to comment.