Skip to content

Commit

Permalink
Removed code that is not suposed to be in there
Browse files Browse the repository at this point in the history
  • Loading branch information
David-Esteves committed Mar 28, 2017
1 parent 1bb0ab5 commit a60e97c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions arctic/static/arctic/src/assets/js/components/tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,11 +182,6 @@
// it's a drag event
if ( more && more.dnd && ( operation === 'move_node' )) {

// disable dragging on root level
if ( node.parent === '#' ) {
return false;
}

// limit dragging to same parent level
if ( node.parent !== node_parent.id ) {
return false;
Expand Down

0 comments on commit a60e97c

Please sign in to comment.