diff --git a/src/aui-tree/js/aui-tree-view.js b/src/aui-tree/js/aui-tree-view.js index e9db6fda1b0..0a982a686f1 100644 --- a/src/aui-tree/js/aui-tree-view.js +++ b/src/aui-tree/js/aui-tree-view.js @@ -768,7 +768,7 @@ var TreeViewDD = A.Component.create({ // cannot drop the dragged element into any of its children // nor above an undraggable element // using DOM contains method for performance reason - if (!!dropTreeNode.get(DRAGGABLE) && !dragNode.contains(dropNode)) { + if ( !! dropTreeNode.get(DRAGGABLE) && !dragNode.contains(dropNode)) { // nArea splits the height in 3 areas top/center/bottom these // areas are responsible for defining the state when the mouse // is over any of them