remove useless blurp

remotes/1693176582716663532/tmp_refs/heads/watchparty
Aevann1 2022-11-07 07:55:15 +02:00
parent ee4c534a92
commit 72e76681b5
2 changed files with 0 additions and 10 deletions

View File

@ -128,11 +128,6 @@ function buy(mb) {
url = `/buy/${kind}`
if (mb) url += "?mb=true"
const xhr = createXhrWithFormKey(url);
if(typeof data === 'object' && data !== null) {
for(let k of Object.keys(data)) {
form.append(k, data[k]);
}
}
xhr[0].onload = function() {
let data
try {data = JSON.parse(xhr[0].response)}

View File

@ -88,11 +88,6 @@ function sendMessage(e) {
formData = new FormData(form);
formData.append("formkey", formkey());
if(typeof data === 'object' && data !== null) {
for(let k of Object.keys(data)) {
form.append(k, data[k]);
}
}
actionPath = form.getAttribute("action");
xhr.open("POST", actionPath);