Skip to content

Commit

Permalink
Update script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
arnav7897 authored Mar 24, 2024
1 parent 7a65540 commit 2af9708
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ let oldacademic = document.getElementsByClassName('old-academic')[0];
oldacademic.addEventListener('click', () => {
console.log("Clicked")
let map = document.getElementsByClassName('map')[0];
map.src = "maps/old-academic/old-academic.html";
let display = document.getElementById("searchdisplay");
display.style.display = "";
display.innerHTML = "<h1> OLD ACADEMIC BUILDING</h1>";
Expand Down

0 comments on commit 2af9708

Please sign in to comment.