Skip to content

Commit 47a0543

Browse files
committed
add missing fix of meta reading into build.
1 parent 77452e5 commit 47a0543

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

dist/aha-table.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -769,9 +769,10 @@
769769
searchplaceholder: undefined,
770770
ready: function() {
771771
if (this.dataset.choices) {
772-
JSON.parse(this.dataset.choices).forEach(function(option) {
772+
var choices = JSON.parse(this.dataset.choices);
773+
for(option in choices) {
773774
this.options.push({'value': option, 'label': choices[option]});
774-
}, this);
775+
}
775776
}
776777
}
777778
});

0 commit comments

Comments
 (0)