Skip to content

Commit

Permalink
Merge pull request #23 from jurruh/remove-fn-construct-mouseup
Browse files Browse the repository at this point in the history
Remove fnConstruct in mouseUp
  • Loading branch information
jeffreydwalter authored Apr 10, 2019
2 parents 9ce30c6 + f268336 commit d4d9d5b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ColReorderWithResize.js
Original file line number Diff line number Diff line change
Expand Up @@ -1315,9 +1315,6 @@ $.extend( ColReorder.prototype, {
this.s.dt.oInstance.fnAdjustColumnSizing( false );
}

// Re-initialize so as to register the new column order (otherwise the events remain bound to the original column indices).
this._fnConstruct();

this.s.dt.oInstance.trigger('column-reorder.dt.mouseup', [ this.s.dt ] );

/* Save the state */
Expand Down

0 comments on commit d4d9d5b

Please sign in to comment.