index : btroops | |
Virtual board game-aid for BattleTroops, an infantry combat simulator wargame published by FASA in 1989. |
aboutsummaryrefslogtreecommitdiff |
diff options
Diffstat (limited to 'src/soldier_record_block.js')
-rw-r--r-- | src/soldier_record_block.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/soldier_record_block.js b/src/soldier_record_block.js index 3931649..120b3bc 100644 --- a/src/soldier_record_block.js +++ b/src/soldier_record_block.js @@ -1,6 +1,6 @@ customElements.define( 'damage-block', - class extends HTMLSpanElement { + class extends HTMLElement { constructor() { super(); @@ -32,12 +32,11 @@ customElements.define( } } }, - { extends: 'span' } ); customElements.define( 'soldier-record-block', - class extends HTMLDivElement { + class extends HTMLElement { constructor() { super(); @@ -52,5 +51,4 @@ customElements.define( this.shadowRoot.querySelector('.grenades').addEventListener('click', e => e.stopPropagation()); } }, - { extends: 'div' } ); |