fixed swal @ assets/js/partials/publicCtrl.js