From a2c5488da9c5415c555336d298c6e06dd6052146 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D1=83=D1=82=D1=87=D0=B5=D0=BD=D0=BA=D0=BE=20=D0=9E?= =?UTF-8?q?=D0=BB=D0=B5=D0=B3?= Date: Sat, 18 May 2019 15:10:16 +0300 Subject: [PATCH] fix method --- index.js | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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": {