diff --git a/src/jquery.gridster.js b/src/jquery.gridster.js index 83d6f409a..7d4d041d4 100755 --- a/src/jquery.gridster.js +++ b/src/jquery.gridster.js @@ -1586,10 +1586,6 @@ this.$player.coords().grid.row = row; this.$player.coords().grid.col = col; - if (this.options.draggable.stop) { - this.options.draggable.stop.call(this, event, ui); - } - this.$player.addClass('player-revert').removeClass('player') .attr({ 'data-col': col, @@ -1598,6 +1594,10 @@ 'left': '', 'top': '' }); + + if (this.options.draggable.stop) { + this.options.draggable.stop.call(this, event, ui); + } this.$preview_holder.remove();