Skip to content

Commit

Permalink
trigger after update
Browse files Browse the repository at this point in the history
  • Loading branch information
rharriso committed May 12, 2016
1 parent ddf188a commit c572561
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gridstack.js
Original file line number Diff line number Diff line change
Expand Up @@ -1109,9 +1109,9 @@
}
self._updateContainerHeight();
self._triggerChangeEvent(forceNotify);
self._triggerUpdateEvent(forceNotify);

self.grid.endUpdate();
self._triggerUpdateEvent(forceNotify);

var nestedGrids = o.find('.grid-stack');
if (nestedGrids.length && event.type == 'resizestop') {
Expand Down Expand Up @@ -1431,8 +1431,8 @@
self._updateContainerHeight();
self._triggerChangeEvent();

self._triggerUpdateEvent();
self.grid.endUpdate();
self._triggerUpdateEvent();
};

GridStack.prototype.resize = function(el, width, height) {
Expand Down

0 comments on commit c572561

Please sign in to comment.