Fix bad check

This commit is contained in:
Pierre HUBERT 2020-04-18 12:06:13 +02:00
parent 9b16f83693
commit 825d4a5128

View File

@ -215,7 +215,7 @@ ComunicWeb.components.movies.picker = {
innerHTML: "Delete",
onclick: () => {
if(!ComunicWeb.common.messages.confirm("Do you really want to delete this movie ?", async res => {
ComunicWeb.common.messages.confirm("Do you really want to delete this movie ?", async res => {
if(!res)
return;
@ -228,7 +228,7 @@ ComunicWeb.components.movies.picker = {
notify("Could not delete movie!", "danger");
}
}));
})
}
})