Use prop() for the disabled attribute.

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
XhmikosR
2020-05-23 16:59:09 +03:00
parent 758bd21870
commit af47854a2d
3 changed files with 13 additions and 13 deletions

View File

@@ -55,7 +55,7 @@ function eventsource() {
}
$("#debugBtn").on("click", function () {
$("#debugBtn").attr("disabled", true);
$("#upload").attr("disabled", true);
$("#debugBtn").prop("disabled", true);
$("#upload").prop("disabled", true);
eventsource();
});