Skip to content

Commit

Permalink
fixed detection for display:block
Browse files Browse the repository at this point in the history
  • Loading branch information
owen-m1 authored and elo7-developer committed Nov 18, 2019
1 parent fa4b927 commit 9e6e134
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sortable.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ define('sortable', [], function sortableFactory() {
}
return (child1 &&
(
firstChildCSS.display === 'block' ||
child1.style.display === 'block' || // getComputedStyle() gives 'block' when 'inline-block'
firstChildCSS.display === 'flex' ||
firstChildCSS.display === 'table' ||
firstChildCSS.display === 'grid' ||
Expand Down

0 comments on commit 9e6e134

Please sign in to comment.