Skip to content

Commit

Permalink
v4.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
istvan-ujjmeszaros committed May 25, 2023
1 parent 6ac7eb7 commit 80661a4
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
MIT License

Bootstrap TouchSpin
v4.7.0
v4.7.1

A mobile and touch friendly input spinner component for Bootstrap 3 & 4.

Expand Down
2 changes: 1 addition & 1 deletion dist/jquery.bootstrap-touchspin.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Bootstrap Touchspin - v4.7.0
* Bootstrap Touchspin - v4.7.1
* A mobile and touch friendly input spinner component for Bootstrap 3 & 4.
* https://www.virtuosoft.eu/code/bootstrap-touchspin/
*
Expand Down
6 changes: 3 additions & 3 deletions dist/jquery.bootstrap-touchspin.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Bootstrap Touchspin - v4.7.0
* Bootstrap Touchspin - v4.7.1
* A mobile and touch friendly input spinner component for Bootstrap 3 & 4.
* https://www.virtuosoft.eu/code/bootstrap-touchspin/
*
Expand Down Expand Up @@ -765,7 +765,7 @@
value = value + boostedstep;
}

if ((settings.max !== null) && (value > settings.max)) {
if ((settings.max !== null) && (value >= settings.max)) {
value = settings.max;
originalinput.trigger('touchspin.on.max');
stopSpin();
Expand Down Expand Up @@ -797,7 +797,7 @@
value = value - boostedstep;
}

if ((settings.min !== null) && (value < settings.min)) {
if ((settings.min !== null) && (value <= settings.min)) {
value = settings.min;
originalinput.trigger('touchspin.on.min');
stopSpin();
Expand Down
4 changes: 2 additions & 2 deletions dist/jquery.bootstrap-touchspin.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bootstrap-touchspin",
"version": "4.7.0",
"version": "4.7.1",
"title": "Bootstrap Touchspin",
"description": "A mobile and touch friendly input spinner component for Bootstrap 3 & 4.",
"keywords": [
Expand Down

0 comments on commit 80661a4

Please sign in to comment.