15 lines
491 B
JavaScript
15 lines
491 B
JavaScript
|
$.ajax({
|
||
|
dataType: "text",
|
||
|
url: "closed.txt",
|
||
|
cache: false,
|
||
|
success: function (value) {
|
||
|
if (value !== "true")
|
||
|
return;
|
||
|
$('#closed').html( /*html*/ `
|
||
|
<div class="alert alert-warning" role="alert">
|
||
|
<strong>My commissions are currently closed.</strong>
|
||
|
<br>If you are willing to wait until they reopen, you can still contact me with a short summmary of your request.
|
||
|
</div>
|
||
|
`);
|
||
|
}
|
||
|
});
|