Skip to content

Commit

Permalink
Merge pull request #6 from dutchenkoOleg/master
Browse files Browse the repository at this point in the history
fix firstInitialize
  • Loading branch information
OlehDutchenko authored Aug 9, 2019
2 parents 84906f3 + e624b24 commit 00413ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ export class AbstractSlickCarousel extends WebPluginInterface {
} else {
if (this.firstInitialize) {
this._setup();
this.firstInitialize = false;
this._beforeInitialize();
}

Expand All @@ -147,6 +146,7 @@ export class AbstractSlickCarousel extends WebPluginInterface {

if (this.firstInitialize) {
this._afterInitialize();
this.firstInitialize = false;
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web-plugin-abstract-slick-carousel",
"version": "3.0.1",
"version": "3.0.2",
"description": "",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 00413ab

Please sign in to comment.