Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/record_sheet.js')
-rw-r--r--src/modules/record_sheet.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/record_sheet.js b/src/modules/record_sheet.js
index 53f6d83..f786112 100644
--- a/src/modules/record_sheet.js
+++ b/src/modules/record_sheet.js
@@ -82,7 +82,7 @@ function createRecord(unit) {
const { dataset: { allegiance, number, squad }} = unit,
primaryWeapon = unit.querySelector('.primary-weapon'),
pw = primaryWeapon.getAttributeNS(null, 'href').split('#').pop() || 'rifle',
- div = document.createElement('div', { is: 'soldier-record-block' }),
+ div = document.createElement('soldier-record-block'),
spans = Array(6).fill('span').map(t => document.createElement(t)),
[tn, sn, pwt, pwd, pwrs, pwrl] = spans;