From 600043030b40ff49c582a32079f8ac9f8add46ce Mon Sep 17 00:00:00 2001 From: Johan Compagner Date: Wed, 9 Jun 2021 16:36:26 +0200 Subject: [PATCH] fix the designer for IE for now we can't use arrow functions --- table/table.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/table/table.js b/table/table.js index 0a352fd..c069244 100644 --- a/table/table.js +++ b/table/table.js @@ -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