forked from public/foundryvtt-reve-de-dragon
Fix espace avant boutons
This commit is contained in:
@ -115,17 +115,16 @@ export class RdDRollResolutionTable extends Dialog {
|
||||
rollData.finalLevel = this._computeFinalLevel(rollData);
|
||||
|
||||
const htmlTable = await RdDResolutionTable.buildHTMLTable({
|
||||
carac:rollData.caracValue,
|
||||
level: rollData.finalLevel
|
||||
carac: rollData.caracValue,
|
||||
level: rollData.finalLevel,
|
||||
maxCarac: 20,
|
||||
maxLevel: 10
|
||||
});
|
||||
|
||||
// Mise à jour valeurs
|
||||
this.html.find("[name='carac']").val(rollData.caracValue);
|
||||
this.html.find(".roll-param-resolution").text(rollData.selectedCarac.value + " / " + Misc.toSignedString(rollData.finalLevel));
|
||||
this.html.find(".table-resolution").remove();
|
||||
this.html.find(".table-proba-reussite").remove();
|
||||
|
||||
this.html.find("div.placeholder-resolution").append(htmlTable)
|
||||
this.html.find("div.placeholder-resolution").empty().append(htmlTable)
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user