fix "give award" button not getting grayed-out correctly

master
Aevann1 2022-11-07 07:41:57 +02:00
parent a66add3897
commit 5be668a049
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ function createXhrWithFormKey(url, method="POST", form=new FormData()) {
}
function postToast(t, url, data, extraActionsOnSuccess, method="POST") {
const isShopConfirm = t.id.startsWith('buy1-') || t.id.startsWith('buy2-')
const isShopConfirm = t.id.startsWith('buy1-') || t.id.startsWith('buy2-') || t.id.startsWith('giveaward')
if (!isShopConfirm)
{