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

Commit 465d7bf

Browse files
committed
refactor(sortable): change to achieve 100% code coverage on tests
1 parent 4dbb846 commit 465d7bf

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/sortable.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,7 @@ angular.module('ui.sortable', [])
8484
var phElement = placeholder.element();
8585
// workaround for jquery ui 1.9.x,
8686
// not returning jquery collection
87-
if (!phElement.jquery) {
88-
phElement = angular.element(phElement);
89-
}
87+
phElement = angular.element(phElement);
9088

9189
// exact match with the placeholder's class attribute to handle
9290
// the case that multiple connected sortables exist and

0 commit comments

Comments
 (0)