Skip to content

Commit

Permalink
Update UIAlert.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jelveh committed Apr 23, 2024
1 parent ab5fee1 commit 5538649
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/UI/UIAlert.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function UIAlert(options){
// icon
h += `<img class="window-alert-icon" src="${html_encode(options.body_icon)}">`;
// message
h += `<div class="window-alert-message">${options.message}</div>`;
h += `<div class="window-alert-message">${html_encode(options.message)}</div>`;
// buttons
if(options.buttons && options.buttons.length > 0){
h += `<div style="overflow:hidden; margin-top:20px;">`;
Expand Down

0 comments on commit 5538649

Please sign in to comment.