Skip to content

Commit

Permalink
v4.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
istvan-ujjmeszaros committed Apr 6, 2023
1 parent f90de7f commit a219994
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 12 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.6.0
v4.6.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.6.0
* Bootstrap Touchspin - v4.6.1
* A mobile and touch friendly input spinner component for Bootstrap 3 & 4.
* https://www.virtuosoft.eu/code/bootstrap-touchspin/
*
Expand Down
12 changes: 5 additions & 7 deletions dist/jquery.bootstrap-touchspin.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Bootstrap Touchspin - v4.6.0
* Bootstrap Touchspin - v4.6.1
* A mobile and touch friendly input spinner component for Bootstrap 3 & 4.
* https://www.virtuosoft.eu/code/bootstrap-touchspin/
*
Expand Down Expand Up @@ -303,11 +303,9 @@
var html;

var inputGroupSize = '';
if (originalinput.hasClass('input-sm')) {
if (originalinput.hasClass('input-sm') || originalinput.hasClass('form-control-sm')) {
inputGroupSize = 'input-group-sm';
}

if (originalinput.hasClass('input-lg')) {
} else if (originalinput.hasClass('input-lg') || originalinput.hasClass('form-control-lg')) {
inputGroupSize = 'input-group-lg';
}

Expand All @@ -321,9 +319,9 @@

$('.bootstrap-touchspin-prefix', container).after(originalinput);

if (originalinput.hasClass('input-sm')) {
if (originalinput.hasClass('input-sm') || originalinput.hasClass('form-control-sm')) {
container.addClass('input-group-sm');
} else if (originalinput.hasClass('input-lg')) {
} else if (originalinput.hasClass('input-lg') || originalinput.hasClass('form-control-lg')) {
container.addClass('input-group-lg');
}
}
Expand Down
4 changes: 2 additions & 2 deletions dist/jquery.bootstrap-touchspin.min.js

Large diffs are not rendered by default.

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.6.0",
"version": "4.6.1",
"title": "Bootstrap Touchspin",
"description": "A mobile and touch friendly input spinner component for Bootstrap 3 & 4.",
"keywords": [
Expand Down

0 comments on commit a219994

Please sign in to comment.