Skip to content

Commit 00413ab

Browse files
Merge pull request #6 from dutchenkoOleg/master
fix firstInitialize
2 parents 84906f3 + e624b24 commit 00413ab

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ export class AbstractSlickCarousel extends WebPluginInterface {
138138
} else {
139139
if (this.firstInitialize) {
140140
this._setup();
141-
this.firstInitialize = false;
142141
this._beforeInitialize();
143142
}
144143

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

148147
if (this.firstInitialize) {
149148
this._afterInitialize();
149+
this.firstInitialize = false;
150150
}
151151
}
152152
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "web-plugin-abstract-slick-carousel",
3-
"version": "3.0.1",
3+
"version": "3.0.2",
44
"description": "",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)