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

Commit 30f3129

Browse files
author
AngularUI (via TravisCI)
committed
Travis commit : build 498
1 parent 8926a05 commit 30f3129

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-ui-sortable",
3-
"version": "0.16.0",
3+
"version": "0.16.1",
44
"main": ["./sortable.js"],
55
"dependencies": {
66
"angular": ">=1.2.x",

sortable.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* angular-ui-sortable - This directive allows you to jQueryUI Sortable.
3-
* @version v0.16.0 - 2016-12-04
3+
* @version v0.16.1 - 2016-12-16
44
* @link http://angular-ui.github.com
55
* @license MIT
66
*/
@@ -333,7 +333,7 @@ angular.module('ui.sortable', [])
333333
// the value will be overwritten with the old value
334334
if(!ui.item.sortable.received) {
335335
ui.item.sortable.dropindex = getItemIndex(ui.item);
336-
var droptarget = ui.item.closest('[ui-sortable]');
336+
var droptarget = ui.item.closest('[ui-sortable], [data-ui-sortable], [x-ui-sortable]');
337337
ui.item.sortable.droptarget = droptarget;
338338
ui.item.sortable.droptargetList = ui.item.parent();
339339

sortable.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)