From 1a39d76e480b3341e9e91fe37f58f557bc9aba73 Mon Sep 17 00:00:00 2001 From: nobuti Date: Thu, 12 Jan 2017 07:07:59 +0100 Subject: [PATCH] Better remove resizer. --- src/js/plugin/destroy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/plugin/destroy.js b/src/js/plugin/destroy.js index b409a54..b1b1a0d 100644 --- a/src/js/plugin/destroy.js +++ b/src/js/plugin/destroy.js @@ -16,7 +16,7 @@ module.exports = function (element) { } if (i.resizer) { - i.resizer.remove(); + i.resizer.parentNode.removeChild(i.resizer); } i.event.unbindAll();