Use 'repeating_spell' to attach listener, since repeating section is (#5206)

named 'repeating_spell'.
This commit is contained in:
Thomas Seliger
2019-06-24 17:33:32 -05:00
committed by Cassie Levett
parent 94be1a01a0
commit dc122a87de
+1 -1
View File
@@ -3948,7 +3948,7 @@
});
//PC SPELLS/PREPS/RITUALS
['repeating_spells','repeating_preps','repeating_ritual'].forEach(field => {
['repeating_spell','repeating_preps','repeating_ritual'].forEach(field => {
// Attach listener
on(`change:${field}`, (eventInfo) => {
const source = eventInfo.sourceAttribute;