Allow HTML in alert message
This commit is contained in:
parent
1117e059b0
commit
cddc06972b
@ -26,7 +26,7 @@ function bsalert(title, message, okbtn, cancelbtn, callback) {
|
|||||||
+ '</div>';
|
+ '</div>';
|
||||||
$("body").append(html);
|
$("body").append(html);
|
||||||
$("#bsalert-title").text(title);
|
$("#bsalert-title").text(title);
|
||||||
$("#bsalert-message").text(message);
|
$("#bsalert-message").html(message);
|
||||||
if (typeof okbtn != "string") {
|
if (typeof okbtn != "string") {
|
||||||
okbtn = "OK";
|
okbtn = "OK";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user