From 7b777c73f06fa4a30f67b9b4ee42ce20aef61ea7 Mon Sep 17 00:00:00 2001 From: Stefan Date: Fri, 28 Jul 2017 11:48:51 +0200 Subject: [PATCH] Update jquery.nestable.js If the handler was not a direct child of dd-item, it didn't work. --- jquery.nestable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jquery.nestable.js b/jquery.nestable.js index 7323fb4..4a8f78f 100644 --- a/jquery.nestable.js +++ b/jquery.nestable.js @@ -403,7 +403,7 @@ this.dragEl[0].style.visibility = 'visible'; } if (this.pointEl.hasClass(opt.handleClass)) { - this.pointEl = this.pointEl.parent(opt.itemNodeName); + this.pointEl = this.pointEl.parents(opt.itemNodeName); } if (this.pointEl.hasClass(opt.emptyClass)) { isEmpty = true;