summaryrefslogtreecommitdiffstats
path: root/js/add-remove-cell.js
diff options
context:
space:
mode:
authorDavid DeSandro <desandrocodes@gmail.com>2016-06-14 11:13:22 -0400
committerDavid DeSandro <desandrocodes@gmail.com>2016-06-14 11:13:22 -0400
commit756332849b8d032aae2bc5bea4c9e1063cf136c3 (patch)
treea51e2b7d460983a9a53a2ceac1883bee6fcd625a /js/add-remove-cell.js
parentb176a4396d8e7e565fe275e87c8b1f1c6d4dbab7 (diff)
downloadflickity-756332849b8d032aae2bc5bea4c9e1063cf136c3.zip
flickity-756332849b8d032aae2bc5bea4c9e1063cf136c3.tar.gz
flickity-756332849b8d032aae2bc5bea4c9e1063cf136c3.tar.bz2
🛠 updateSelectedSlide
Diffstat (limited to 'js/add-remove-cell.js')
-rw-r--r--js/add-remove-cell.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/add-remove-cell.js b/js/add-remove-cell.js
index b82e008..a632084 100644
--- a/js/add-remove-cell.js
+++ b/js/add-remove-cell.js
@@ -153,6 +153,7 @@ Flickity.prototype.cellChange = function( changedCellIndex, isPositioningSlider
var prevSlideableWidth = this.slideableWidth;
this._positionCells( changedCellIndex );
this._getWrapShiftCells();
+ this.updateSlides();
this.setGallerySize();
// position slider
if ( this.options.freeScroll ) {