This commit is contained in:
Markos Gogoulos
2026-05-06 10:15:17 +03:00
parent c06cfb3983
commit cb0953f8bb
11 changed files with 28 additions and 65 deletions
+1 -7
View File
@@ -269,13 +269,7 @@
}, '*');
};
fetch('/api/v1/media/' + mediaId + '/share', {
method: 'POST',
headers: {
'X-CSRFToken': getCSRFToken(),
'Content-Type': 'application/json',
},
}).then(sendPostMsg).catch(sendPostMsg);
sendPostMsg();
return;
}
setTimeout(function(){ window.location.href = response.media_url; }, 500);