diff --git a/Sortable.js b/Sortable.js index 05f3d0844..1c095a4cf 100644 --- a/Sortable.js +++ b/Sortable.js @@ -2031,7 +2031,7 @@ define('sortable', [], function sortableFactory() { function _lastChild(el) { var last = el.lastElementChild; - while (last && (last === ghostEl || last.style.display === 'none')) { + while (last && (last === ghostEl || _css(last, 'display') === 'none')) { last = last.previousElementSibling; }