Skip to content

Commit

Permalink
Fix: leftover from wrong syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidPhilip committed Feb 7, 2015
1 parent aef2ac9 commit 377f057
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jquery.nestable.js
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@
for (i in this.options.reject) {
var reject = this.options.reject[i];
if (reject.rule != 'undefined') {
if (reject.rule?.apply(this.dragRootEl)) {
if (reject.rule.apply(this.dragRootEl)) {
var nestableDragEl = el.clone(true);
this.dragRootEl.html(this.nestableCopy.children().clone(true));
if (reject.action) {
Expand Down

0 comments on commit 377f057

Please sign in to comment.