|
@@ -125,11 +125,11 @@ $(".next").click(function () {
|
|
|
console.log(data)
|
|
|
result = xhr.send(objstr);
|
|
|
});
|
|
|
-
|
|
|
+const buttonSend = document.querySelector('#sendBTN');
|
|
|
$("#sendBTN").click(function () {
|
|
|
- button.setAttribute('disabled', '');
|
|
|
+ buttonSend.setAttribute('disabled', '');
|
|
|
setTimeout(function () {
|
|
|
- button.removeAttribute('disabled')
|
|
|
+ buttonSend.removeAttribute('disabled')
|
|
|
}, 4000);
|
|
|
avatar = $('.avatar').val();
|
|
|
name_title = $('.title_new').val();
|