diff --git a/index.js b/index.js index 2c5dfb6..559c299 100644 --- a/index.js +++ b/index.js @@ -3,7 +3,7 @@ /** * @module AbstractSlickCarousel * @author OlegDutchenko - * @version 3.0.0 + * @version 3.0.1 */ // ---------------------------------------- @@ -174,7 +174,7 @@ export class AbstractSlickCarousel extends WebPluginInterface { destroy () { if (this.isInitialized) { - this.$list.unslick(); + this.$list.slick('unslick'); this.isInitialized = false; } } diff --git a/package.json b/package.json index ca08029..4ae2219 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "web-plugin-abstract-slick-carousel", - "version": "3.0.0", + "version": "3.0.1", "description": "", "main": "index.js", "scripts": {