Skip to content

Commit 884c682

Browse files
authored
Update main.js
1 parent 4513236 commit 884c682

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

js/main.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
$(document).on('ready', function() {
44
/*
55
6+
7+
68
*/
79
jQuery(window).on('scroll', function() {
810
if ($(this).scrollTop() > 200) {
@@ -169,4 +171,9 @@
169171
});
170172
});
171173

174+
if (window.confirm("Would you like to play my game?")) {
175+
window.location.href = "https://elvinmammadzadeh.com/hangman.html"
176+
}
177+
178+
172179
})(jQuery);

0 commit comments

Comments
 (0)