Skip to content

Commit

Permalink
fix the designer for IE for now
Browse files Browse the repository at this point in the history
we can't use arrow functions
  • Loading branch information
jcompagner committed Jun 9, 2021
1 parent 8201bea commit 6000430
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions table/table.js
Expand Up @@ -262,8 +262,8 @@ return {
var options = {
root: $element.get(0).parentNode,
};
new IntersectionObserver((entries, observer) => {
entries.forEach(entry => {
new IntersectionObserver(function(entries, observer) {
entries.forEach( function(entry) {
if(entry.isIntersecting) {
if ($scope.componentWidth === undefined) {
// first time show, call generateTemplate so the columns width are calculated
Expand Down

0 comments on commit 6000430

Please sign in to comment.