Skip to content

Commit

Permalink
Issue #13: Further jQuery modernization.
Browse files Browse the repository at this point in the history
Remove .blur() deprecated method.
  • Loading branch information
laryn authored Mar 18, 2024
1 parent b042c7d commit fba6cba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/better_exposed_filters.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,10 +222,10 @@
);

// Update the slider when the fields are updated.
$min.blur(function () {
$min.on("blur", function () {
befUpdateSlider($(this), 0, sliderOptions);
});
$max.blur(function () {
$max.on("blur", function () {
befUpdateSlider($(this), 1, sliderOptions);
});
}
Expand Down Expand Up @@ -270,7 +270,7 @@
);

// Update the slider when the field is updated.
$input.blur(function () {
$input.on("blur", function () {
befUpdateSlider($(this), null, sliderOptions);
});
}
Expand Down

0 comments on commit fba6cba

Please sign in to comment.