mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-12-24 09:58:51 +00:00
Fix bad check
This commit is contained in:
parent
9b16f83693
commit
825d4a5128
@ -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");
|
||||
}
|
||||
|
||||
}));
|
||||
})
|
||||
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user