forked from MarseyWorld/MarseyWorld
fix prev commit
parent
15460fb6e7
commit
1bf3d3abc3
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue