expire share days in settings validate
Signed-off-by: Rinat Gumirov <rinat.gumirov@mail.ru>
This commit is contained in:
parent
6ad7f32938
commit
5aca24f3bd
|
@ -66,11 +66,8 @@ $(document).ready(function(){
|
|||
});
|
||||
});
|
||||
|
||||
$('#shareapiExpireAfterNDays').change(function() {
|
||||
var value = $(this).val();
|
||||
if (value <= 0) {
|
||||
$(this).val("1");
|
||||
}
|
||||
$('#shareapiExpireAfterNDays').on('input', function() {
|
||||
this.value = this.value.replace(/\D/g, '');
|
||||
});
|
||||
|
||||
$('#shareAPI input:not(.noJSAutoUpdate)').change(function() {
|
||||
|
|
Loading…
Reference in New Issue