From 6d2c6ac8ec722678e984268056e5f8f16fb81def Mon Sep 17 00:00:00 2001 From: nobuti Date: Thu, 12 Jan 2017 10:03:37 +0100 Subject: [PATCH] Removed old code. --- src/js/plugin/destroy.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/js/plugin/destroy.js b/src/js/plugin/destroy.js index b1b1a0d..24419cf 100644 --- a/src/js/plugin/destroy.js +++ b/src/js/plugin/destroy.js @@ -15,10 +15,6 @@ module.exports = function (element) { i.observer.disconnect(); } - if (i.resizer) { - i.resizer.parentNode.removeChild(i.resizer); - } - i.event.unbindAll(); dom.remove(i.scrollbarX); dom.remove(i.scrollbarY);