Skip to content

Commit

Permalink
resolve conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
niravkrish committed Jan 8, 2019
1 parent 7feaedd commit bbceaab
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1224,7 +1224,7 @@ define([

imagesToUpdate = this._setImageIndex(imagesToUpdate);

if (typeof gallery == 'undefined') {
if (typeof gallery === 'undefined') {
context.find(this.options.mediaGallerySelector).on('gallery:loaded', function (loadedGallery) {
loadedGallery = context.find(this.options.mediaGallerySelector).data('gallery');
loadedGallery.updateData(imagesToUpdate);
Expand All @@ -1242,7 +1242,7 @@ define([
});
}

if (typeof gallery == 'undefined') {
if (typeof gallery === 'undefined') {
context.find(this.options.mediaGallerySelector).on('gallery:loaded', function (loadedGallery) {
loadedGallery = context.find(this.options.mediaGallerySelector).data('gallery');
loadedGallery.first();
Expand Down

0 comments on commit bbceaab

Please sign in to comment.