Skip to content

Commit

Permalink
fixed out of sync subnav key 7 hover event, changed keydown to keyup
Browse files Browse the repository at this point in the history
  • Loading branch information
gregrgay committed May 1, 2018
1 parent 9569cf2 commit 8b4c49e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions mods/_standard/gameme/gamify.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ jQuery(document).ready(function(){
$("#panel4").attr("aria-hidden","true");
$("#panel5").attr("aria-hidden","false");
});
$("#tab1").keydown(function(){
$("#tab1").keyup(function(){
$("#tab2").removeClass("active");
$("#tab3").removeClass("active");
$("#tab1").addClass("active");
Expand All @@ -150,7 +150,7 @@ jQuery(document).ready(function(){
$("#panel4").attr("aria-hidden","true");
$("#panel5").attr("aria-hidden","true");
});
$("#tab2").keydown(function(){
$("#tab2").keyup(function(){
$("#tab1").removeClass("active");
$("#tab3").removeClass("active");
$("#tab2").addClass("active");
Expand All @@ -161,7 +161,7 @@ jQuery(document).ready(function(){
$("#panel4").attr("aria-hidden","true");
$("#panel5").attr("aria-hidden","true");
});
$("#tab3").keydown(function(){
$("#tab3").keyup(function(){
$("#tab1").removeClass("active");
$("#tab2").removeClass("active");
$("#tab3").addClass("active");
Expand All @@ -172,7 +172,7 @@ jQuery(document).ready(function(){
$("#panel4").attr("aria-hidden","true");
$("#panel5").attr("aria-hidden","true");
});
$("#tab4").keydown(function(){
$("#tab4").keyup(function(){
$("#tab1").removeClass("active");
$("#tab2").removeClass("active");
$("#tab3").removeClass("active");
Expand All @@ -183,7 +183,7 @@ jQuery(document).ready(function(){
$("#panel4").attr("aria-hidden","false");
$("#panel5").attr("aria-hidden","true");
});
$("#tab5").keydown(function(){
$("#tab5").keyup(function(){
$("#tab1").removeClass("active");
$("#tab2").removeClass("active");
$("#tab3").removeClass("active");
Expand Down

0 comments on commit 8b4c49e

Please sign in to comment.