Commit ac669dc5 authored by Sergey Antonovich's avatar Sergey Antonovich 🇯🇵

Update mobile_adaptability_form_teamplate.js

parent 5e525821
Pipeline #74 canceled with stages
......@@ -22,19 +22,14 @@ var portal = {
$('.asf-invalidInput').each(function(k,i){
var block = $(i).parent();
if($(i).hasClass('asf-invalidInput')){
//block.find('.asf-label').css('color','rgb(255, 19, 0)');
block.find('.asf-label').addClass('mw-invalid-label-color-error');
block.addClass('mw-invalid-color-error');
//block.css('border-bottom-color','rgb(255, 19, 0)');
block.find('.asf-label').css('color','rgb(255, 19, 0)');
block.css('border-bottom-color','rgb(255, 19, 0)');
if($(i).hasClass('asf-container'))
//$(i).css('border-bottom-color','rgb(255, 19, 0)');
$(i).addClass('mw-invalid-color-error');
$(i).css('border-bottom-color','rgb(255, 19, 0)');
$(i).removeClass('asf-invalidInput');
}else{
block.find('.asf-label').addClass('mw-invalid-label-color-success');
//block.find('.asf-label').css('color','rgb(63, 162, 63)');
//block.css('border-bottom-color','rgb(187, 187, 187)');
block.addClass('mw-invalid-color-success');
block.find('.asf-label').css('color','rgb(63, 162, 63)');
block.css('border-bottom-color','rgb(187, 187, 187)');
}
});
};
......@@ -486,7 +481,6 @@ var portal = {
// You`r code
}
});
});
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment