lipis / bootstrap-sweetalert

:cake: A beautiful "replacement" for JavaScript's alert ⛺

Home Page:https://lipis.github.io/bootstrap-sweetalert/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

0x800a01bd - JavaScript runtime error: Object doesn't support this action

omarpando opened this issue · comments

sweet_alert_issue
This error occurs when the sweet alert pops up and you press any key.
Using IE 11
Code:

 swal({
                title: "Are you sure?",
                text: "Delete : " + fileName,
                type: 'error',
                showCancelButton: true,
                confirmButtonClass: "btn-danger",
                confirmButtonText: "Yes, delete it",
                cancelButtonText: "No, cancel",
                closeOnConfirm: false,
                closeOnCancel: false
            },
            function (isConfirm) {
                if (isConfirm) {
                   //Do something
                } else {
                    //Do something else
                }
            });