mirror of
https://github.com/HeyPuter/puter
synced 2024-11-15 06:15:47 +00:00
Update UIAlert.js
This commit is contained in:
parent
ab5fee1562
commit
5538649125
@ -50,7 +50,7 @@ function UIAlert(options){
|
|||||||
// icon
|
// icon
|
||||||
h += `<img class="window-alert-icon" src="${html_encode(options.body_icon)}">`;
|
h += `<img class="window-alert-icon" src="${html_encode(options.body_icon)}">`;
|
||||||
// message
|
// message
|
||||||
h += `<div class="window-alert-message">${options.message}</div>`;
|
h += `<div class="window-alert-message">${html_encode(options.message)}</div>`;
|
||||||
// buttons
|
// buttons
|
||||||
if(options.buttons && options.buttons.length > 0){
|
if(options.buttons && options.buttons.length > 0){
|
||||||
h += `<div style="overflow:hidden; margin-top:20px;">`;
|
h += `<div style="overflow:hidden; margin-top:20px;">`;
|
||||||
|
Loading…
Reference in New Issue
Block a user