sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install winusb
sudo woeusb --partition 'Windows 7 x86_x64 Lite.iso' /dev/sdg1
$('#js-gallery-content .gallery__item .gallery__title a').on('click', function(e) {
e.preventDefault();
$('body').addClass('hidden');
$('#js-overlay').fadeIn('300');
$('#js-gallery-modal').css('display', 'block');
$('#js-gallery-slider-big').slick("refresh");
$('#js-gallery-slider-small').slick("refresh");
});
let modalsRequest = $('#js-modals_request');
modalsRequest.on('submit', function(e){
e.preventDefault();
modalsRequest.validate({
rules: {
modals_request_user: {
required: true
},
modals_request_phone: {
required: true
}
},
messages: {
modals_request_user: {
required: 'Поле обязательно!'
},
modals_request_phone: {
required: 'Поле обязательно!'
}
},
submitHandler: function(form) {
$('.modal-request').fadeOut(200);
$('.thanks-content').fadeIn(600);
setTimeout(function(){
form.submit();
}, 6000);
}
});
});
$('#options_c label').on('click', function(e) {
if(e.target.classList[0] === 'label' || e.target.classList[0] === 'checkbox-custom'){
$(this).find('.checkbox-custom').toggleClass('btn-outline-danger').toggleClass('btn-success');
reCalc();
}
});