We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 580dc84 + f85fd85 commit bdf14d7Copy full SHA for bdf14d7
1 file changed
src/js/qmHelpers.js
@@ -8691,6 +8691,10 @@ var qm = {
8691
},
8692
toast: {
8693
errorAlert: function(errorMessage, callback){
8694
+ if(typeof Swal === "undefined"){
8695
+ console.error("Swal not defined to show errorAlert for: "+errorMessage)
8696
+ return;
8697
+ }
8698
var Toast = Swal.mixin({
8699
toast: true,
8700
icon: "error",
0 commit comments