Skip to content

Commit

Permalink
I'm very used to coffeescript :D
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidPhilip committed Feb 7, 2015
1 parent 377f057 commit f49f899
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 @@ -482,7 +482,7 @@
var isRejected = false;
for (i in this.options.reject) {
var reject = this.options.reject[i];
if (reject.rule != 'undefined') {
if (reject.rule != undefined) {
if (reject.rule.apply(this.dragRootEl)) {
var nestableDragEl = el.clone(true);
this.dragRootEl.html(this.nestableCopy.children().clone(true));
Expand Down

0 comments on commit f49f899

Please sign in to comment.