Skip to content

Commit e4123de

Browse files
committed
contact fix
1 parent 53400be commit e4123de

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

index.html

-1
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,6 @@ <h3>Music and sounds</h3>
267267
<script src="scripts/SnowBackground.js"></script>
268268
<script src="scripts/Achievements.js"></script>
269269
<script src="scripts/Credits.js"></script>
270-
<script src="scripts/Contact.js"></script>
271270
<script src="scripts/Menu.js"></script>
272271
</body>
273272
</html>

scripts/Credits.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class Credits {
1313
this.contact_open_button = document.querySelector(".contact-open")
1414
this.contact_open_button.addEventListener("click", this.showContactForm.bind(this))
1515

16-
this.contact_close_button = this.container.querySelector(".contact-close")
16+
this.contact_close_button = this.contact_container.querySelector(".contact-close")
1717
this.contact_close_button.addEventListener("click", this.hideContactForm.bind(this))
1818
}
1919

styles/menu.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)