extending implementation
parent
3d5e333c6d
commit
98c587c3d9
3
main.js
3
main.js
|
@ -170,6 +170,8 @@ function add_custom_spinners() {
|
|||
$('input[type="number"]').each(function() {
|
||||
var input = $(this);
|
||||
|
||||
// only add new spinner if one doesn't already exist
|
||||
if (!input.next().hasClass('spinner')) {
|
||||
var isInt = true;
|
||||
if (input.prop('step') == '') {
|
||||
isInt = true;
|
||||
|
@ -265,5 +267,6 @@ function add_custom_spinners() {
|
|||
|
||||
input.change();
|
||||
};
|
||||
}
|
||||
});
|
||||
}
|
Loading…
Reference in New Issue