Skip to content

Commit

Permalink
Merge pull request #4 from JoshuaCarter/fix-js-lambda
Browse files Browse the repository at this point in the history
IE11 Fixes
  • Loading branch information
nyeholt authored Mar 4, 2020
2 parents f207058 + 31749dd commit d513270
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions client/javascript/interactives.js
Original file line number Diff line number Diff line change
Expand Up @@ -505,8 +505,9 @@

holder.forEach(function (elem) {
// 300 ms delay to allow for react rendering to occur before we query the ele's DOM
setTimeout(() => {
elem.querySelectorAll('a,button').forEach(function (innerElem) {
setTimeout(function () {
var linkEles = Array.from(elem.querySelectorAll('a,button'));
linkEles.forEach(function (innerElem) {
innerElem.setAttribute('data-intid', item.ID);
if (item.Label) {
innerElem.setAttribute('data-int-label', item.Label);
Expand Down

0 comments on commit d513270

Please sign in to comment.