We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5751578 commit f2ee897Copy full SHA for f2ee897
1 file changed
public/js/cover.js
@@ -91,14 +91,18 @@ $(".masthead-nav li").click(function () {
91
$(this).addClass("active");
92
});
93
94
-$(".ui-home").click(function () {
+$(".ui-home").click(function (e) {
95
+ e.preventDefault();
96
+ e.stopPropagation();
97
if (!$("#home").is(':visible')) {
98
$(".section:visible").hide();
99
$("#home").fadeIn();
100
}
101
102
-$(".ui-history").click(function () {
103
+$(".ui-history").click(function (e) {
104
105
106
if (!$("#history").is(':visible')) {
107
108
$("#history").fadeIn();
0 commit comments