Skip to content

Commit

Permalink
Merge pull request #5 from dutchenkoOleg/master
Browse files Browse the repository at this point in the history
fix `destroy()` method
  • Loading branch information
OlehDutchenko authored May 18, 2019
2 parents b5d604b + a2c5488 commit 84906f3
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 84906f3

Please sign in to comment.