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

Commit 06895b5

Browse files
committed
Wrapped a really long line according to @CyborgMaster.
1 parent eedc567 commit 06895b5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/sortable.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,10 @@ angular.module('ui.sortable', [])
120120
// If the received flag hasn't be set on the item, this is a
121121
// normal sort, if dropindex is set, the item was moved, so move
122122
// the items in the list.
123-
if(!ui.item.sortable.received && ('dropindex' in ui.item.sortable) && !ui.item.sortable.isCanceled()) {
123+
if(!ui.item.sortable.received &&
124+
('dropindex' in ui.item.sortable) &&
125+
!ui.item.sortable.isCanceled()) {
126+
124127
scope.$apply(function () {
125128
ngModel.$modelValue.splice(
126129
ui.item.sortable.dropindex, 0,

0 commit comments

Comments
 (0)