Skip to content

Commit

Permalink
Resolve a jQuery deprecation
Browse files Browse the repository at this point in the history
of the click handler
  • Loading branch information
Luehrsen committed Apr 19, 2021
1 parent 056c6c5 commit dc49f93
Show file tree
Hide file tree
Showing 2 changed files with 19,533 additions and 19 deletions.
2 changes: 1 addition & 1 deletion build/js/floc-check.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const checkFloc = function () {
};

jQuery(document).ready(function ($) {
$('.js--check-floc').click(() => {
$('.js--check-floc').on('click', () => {
checkFloc();
});
});
Loading

0 comments on commit dc49f93

Please sign in to comment.