Skip to content

Commit

Permalink
Undoing my cleverness from last night - it broke things.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Malone committed Apr 1, 2016
1 parent 8b51095 commit df525da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/dragula.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ export class Dragula {

classes.add(this._copy || this._item, 'gu-transit');
this.renderMirrorImage();
this.drag(e);
}

_canStart(item) {
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export {Dragula, Options, DIRECTION, moveBefore};

export function configure(config, callback) {
let defaults = new Options();
config.container.registerSingleton(GLOBAL_OPTIONS, defaults);
config.container.registerInstance(GLOBAL_OPTIONS, defaults);

if (callback !== undefined && typeof callback === 'function') {
callback(defaults);
Expand Down

0 comments on commit df525da

Please sign in to comment.