Skip to content

Commit

Permalink
Merge pull request #1 from aboalnoor/aboalnoor-patch-1
Browse files Browse the repository at this point in the history
fix data-nodrop-nabled bug
  • Loading branch information
aboalnoor committed Jul 5, 2017
2 parents a6e2e4b + 2baf42a commit 28115d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/directives/uiTreeNodes.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
scope.$watch(function () {
return attrs.nodropEnabled;
}, function (newVal) {
if ((typeof newVal) != 'undefined') {
if (newVal && (typeof newVal) != 'undefined') {
scope.nodropEnabled = true;
}
}, true);
Expand Down

0 comments on commit 28115d4

Please sign in to comment.