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);