mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 06:26:13 +01:00
[Fix] TriggerConfig Expand/Collapse (#1630)
* Fixed so that the angle icon indicating expand/collapse for a trigger config actually flips when clicked * Fixed styles
This commit is contained in:
parent
c1924534da
commit
c8d1ea1460
2 changed files with 3 additions and 1 deletions
|
|
@ -314,7 +314,7 @@ export default class DHActionBaseConfig extends DaggerheartSheet(ApplicationV2)
|
|||
const index = Number.parseInt(button.dataset.index);
|
||||
const toggle = (element, codeMirror) => {
|
||||
codeMirror.classList.toggle('revealed');
|
||||
const button = element.querySelector('a > i');
|
||||
const button = element.querySelector('.expand-trigger > i');
|
||||
button.classList.toggle('fa-angle-up');
|
||||
button.classList.toggle('fa-angle-down');
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue