diff --git a/Sortable.js b/Sortable.js index 24c95d7b0218cba4f34b1c816462e309504d1033..882f780d607dd6470b18d18ca8bcf9d0c7920d74 100644 --- a/Sortable.js +++ b/Sortable.js @@ -134,7 +134,7 @@ } return (child1 && ( - firstChildCSS.display === 'block' || + child1.style.display === 'block' || // getComputedStyle() gives 'block' when 'inline-block' firstChildCSS.display === 'flex' || firstChildCSS.display === 'table' || firstChildCSS.display === 'grid' ||