Add icons to check roll dialog buttons

This commit is contained in:
Johannes Loher 2021-02-07 12:23:20 +01:00
parent f64e459cd2
commit 8e8aa4caee

View file

@ -136,6 +136,7 @@ async function askGmModifier(
content: renderedHtml,
buttons: {
ok: {
icon: '<i class="fas fa-check"></i>',
label: game.i18n.localize("DS4.RollDialogOkButton"),
callback: (html) => {
if (!("jquery" in html)) {
@ -152,6 +153,7 @@ async function askGmModifier(
},
},
cancel: {
icon: '<i class="fas fa-times"></i>',
label: game.i18n.localize("DS4.RollDialogCancelButton"),
},
},