[Fix] 1086 - Enrichment Buttons (#1087)

* Fixed so enriched buttons are button type

* Fixed DamageEnrihed button
This commit is contained in:
WBHarry 2025-08-26 02:04:22 +02:00 committed by GitHub
parent 0a5828c8fa
commit ff65a85458
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 8 additions and 3 deletions

View file

@ -34,7 +34,7 @@ export default function DhTemplateEnricher(match, _options) {
const templateElement = document.createElement('span');
templateElement.innerHTML = `
<button class="measured-template-button${inline ? ' inline' : ''}" data-type="${type}" data-range="${range}">
<button type="button" class="measured-template-button${inline ? ' inline' : ''}" data-type="${type}" data-range="${range}">
${label} - ${game.i18n.localize(`DAGGERHEART.CONFIG.Range.${range}.name`)}
</button>
`;