diff --git a/assets/js/components/movies/picker.js b/assets/js/components/movies/picker.js index ab223be5..86bad12f 100644 --- a/assets/js/components/movies/picker.js +++ b/assets/js/components/movies/picker.js @@ -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"); } - })); + }) } })