Skip to content

Commit

Permalink
fix(data-table-v2): fix NodeList.forEach() call not supported by IE (#…
Browse files Browse the repository at this point in the history
…486)

Fixes #485.
  • Loading branch information
asudoh authored and marijohannessen committed Jan 5, 2018
1 parent 0336425 commit 3edcf1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/data-table-v2/data-table-v2.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class DataTableV2 extends mixin(createComponent, initComponentBySearch, eventedS
_sortToggle = detail => {
const { element, previousValue } = detail;

this.tableHeaders.forEach(header => {
[...this.tableHeaders].forEach(header => {
const sortEl = header.querySelector('.bx--table-sort-v2');

if (sortEl !== null && sortEl !== element) {
Expand Down

0 comments on commit 3edcf1d

Please sign in to comment.