artemis/titles/ongeki/frontend/js/rival_scripts.js

13 lines
266 B
JavaScript

function deleteRival(rivalUserId){
$(document).ready(function () {
$.post("/game/ongeki/rival.delete",
{
rivalUserId
},
function(data,status){
window.location.replace("/game/ongeki/")
})
});
}