Skip to content
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.

Sortable: Improved compatibility with flexbox #407

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fixed quotes
CBenni committed Nov 14, 2015
commit 52c5040c48b666cbc5ce0908a1938aaaa0baee05
2 changes: 1 addition & 1 deletion src/sortable.js
Original file line number Diff line number Diff line change
@@ -44,7 +44,7 @@ angular.module('ui.sortable', [])

// thanks jquery-ui
function isFloating (item) {
return (/left|right/).test(item.css('float')) || (/inline|table-cell/).test(item.css('display')) || ( /flex/ ).test( this.element.css( "display" ) );
return (/left|right/).test(item.css('float')) || (/inline|table-cell/).test(item.css('display')) || ( /flex/ ).test( this.element.css( 'display' ) );
}

function getElementScope(elementScopes, element) {