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