fix prev commit

master
justcool393 2022-11-01 16:35:24 -05:00
parent 15460fb6e7
commit 1bf3d3abc3
1 changed files with 1 additions and 1 deletions

View File

@ -4,8 +4,8 @@
<script> <script>
function makeBlackjackRequest(action) { function makeBlackjackRequest(action) {
const xhr = new XMLHttpRequest(); const xhr = new XMLHttpRequest();
xhr.setRequestHeader('xhr', 'xhr');
xhr.open("post", `/casino/twentyone/${action}`); xhr.open("post", `/casino/twentyone/${action}`);
xhr.setRequestHeader('xhr', 'xhr');
xhr.onload = handleBlackjackResponse.bind(null, xhr); xhr.onload = handleBlackjackResponse.bind(null, xhr);
xhr.blackjackAction = action; xhr.blackjackAction = action;
return xhr; return xhr;