Skip to content

Commit

Permalink
fix method
Browse files Browse the repository at this point in the history
  • Loading branch information
WezomDev committed May 18, 2019
1 parent b5d604b commit a2c5488
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* @module AbstractSlickCarousel
* @author OlegDutchenko <dutchenko.o.dev@gmail.com>
* @version 3.0.0
* @version 3.0.1
*/

// ----------------------------------------
Expand Down Expand Up @@ -174,7 +174,7 @@ export class AbstractSlickCarousel extends WebPluginInterface {

destroy () {
if (this.isInitialized) {
this.$list.unslick();
this.$list.slick('unslick');
this.isInitialized = 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.0",
"version": "3.0.1",
"description": "",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit a2c5488

Please sign in to comment.