extending implementation

10.3.x-maintenance
cTn 2014-01-22 17:05:34 +01:00
parent 3d5e333c6d
commit 98c587c3d9
1 changed files with 94 additions and 91 deletions

View File

@ -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();
};
}
});
}