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

Commit 0ef26b6

Browse files
committed
docs(README): update examples to use v0.13.x properties
1 parent 941dfb0 commit 0ef26b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ Inside the `update` callback, you can check the item that is dragged and cancel
115115
```js
116116
$scope.sortableOptions = {
117117
update: function(e, ui) {
118-
if (ui.item.scope().item == "can't be moved") {
118+
if (ui.item.sortable.model == "can't be moved") {
119119
ui.item.sortable.cancel();
120120
}
121121
}
@@ -181,7 +181,7 @@ For more details about the events check the [jQueryUI API documentation](http://
181181
- [Tree with dynamic template](http://codepen.io/thgreasi/pen/uyHFC)
182182
- Canceling
183183
- [Connected Lists With Max Size](http://codepen.io/thgreasi/pen/IdvFc)
184-
- [Connected Lists Without Duplicates](http://codepen.io/thgreasi/pen/uKfyt)
184+
- [Connected Lists Without Duplicates](http://codepen.io/thgreasi/pen/NPaJyb)
185185
- [Draggable Handle](http://codepen.io/thgreasi/pen/ihAyr)
186186
- [Drop Zone](http://codepen.io/anon/pen/JorbqZ)
187187

0 commit comments

Comments
 (0)