fix prev commit

remotes/1693176582716663532/tmp_refs/heads/watchparty
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>
function makeBlackjackRequest(action) {
const xhr = new XMLHttpRequest();
xhr.setRequestHeader('xhr', 'xhr');
xhr.open("post", `/casino/twentyone/${action}`);
xhr.setRequestHeader('xhr', 'xhr');
xhr.onload = handleBlackjackResponse.bind(null, xhr);
xhr.blackjackAction = action;
return xhr;