Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
williammustaffa committed Jul 25, 2020
1 parent 45d40a5 commit 577e01a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
10 changes: 4 additions & 6 deletions dist/jquery.dad.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@
*/
Dad.defaultOptions = {
active: true,
draggable: null,
draggable: false,
exchangeable: true,
transition: 200,
placeholderTarget: null,
placeholderTemplate: null,
placeholderTarget: false,
placeholderTemplate: "<div />",
};

/**
Expand Down Expand Up @@ -216,10 +216,8 @@
width: $target.outerWidth(),
});

var placeholderTemplate = this.options.placeholderTarget || "<div />";

// Add placeholder
var $placeholder = $(placeholderTemplate).css({
var $placeholder = $(this.options.placeholderTemplate).css({
position: "absolute",
pointerEvents: "none",
zIndex: 9998,
Expand Down
2 changes: 1 addition & 1 deletion dist/jquery.dad.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 577e01a

Please sign in to comment.