diff --git a/client/src/components/trello-board/smooth-dnd/src/dragscroller.js b/client/src/components/trello-board/smooth-dnd/src/dragscroller.js index 12acd5ad8..4c38c5b37 100644 --- a/client/src/components/trello-board/smooth-dnd/src/dragscroller.js +++ b/client/src/components/trello-board/smooth-dnd/src/dragscroller.js @@ -105,7 +105,7 @@ function getAutoScrollInfo(position, scrollableInfo) { } function scrollableInfo(element) { - var result = { + const result = { element, rect: getVisibleRect(element, element.getBoundingClientRect()), descendants: [],