Skip to content

Commit

Permalink
update demo
Browse files Browse the repository at this point in the history
  • Loading branch information
jrowny committed Mar 6, 2017
1 parent a32c111 commit 45a97e9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
2 changes: 1 addition & 1 deletion demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function demo() {
sort: item.sort - 1
};
//Increment sorts between positions when source is greater
}else if(item.sort >= target.sort && item.sort < source.sort){
} else if (item.sort >= target.sort && item.sort < source.sort){
return {
...item,
sort: item.sort + 1
Expand Down
Loading

0 comments on commit 45a97e9

Please sign in to comment.