We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb62a5d commit 75815a6Copy full SHA for 75815a6
src/pat/sortable/sortable.js
@@ -97,7 +97,9 @@ export default Base.extend({
97
this.$sortables.off(".pat-sortable");
98
this.$el.off(".pat-sortable");
99
$("#pat-scroll-up, #pat-scroll-dn").detach();
100
- var change = this.submitChangedAmount($(ev.target).closest(".sortable"));
+ var change = this.submitChangedAmount(
101
+ $(ev.target).closest(this.options.selector)
102
+ );
103
// Call the optionally passed-in callback function
104
if (this.options.drop) {
105
this.options.drop($dragged, change);
0 commit comments