Skip to content

Commit

Permalink
Prevent multiple ajax call
Browse files Browse the repository at this point in the history
  • Loading branch information
intraordinaire committed Nov 27, 2024
1 parent b3bdef8 commit a0e0d91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/js/gamification_bt.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ function gamificationTasks()
fancybox.fancybox();
}

$(".preactivationLink").on('click', function(e) {
$(".preactivationLink").one('click', function(e) {
e.preventDefault();
preactivationLinkClick($(this).attr('rel'), $(this).attr('href'));
});
Expand Down

0 comments on commit a0e0d91

Please sign in to comment.