Skip to content

Commit b6ee83f

Browse files
committed
Updatae abp.sweet-alert2.js to support isHtml option
1 parent 9e91b9f commit b6ee83f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Abp/Framework/scripts/libs/abp.sweet-alert2.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,11 @@ var abp = abp || {};
4343

4444
options.reverseButtons = true;
4545

46-
messageContent.text = message;
46+
if (options.isHtml) {
47+
options.html = message;
48+
} else {
49+
options.text = message;
50+
}
4751

4852
var opts = $.extend(
4953
{},

0 commit comments

Comments
 (0)