Better remove resizer.

This commit is contained in:
nobuti 2017-01-12 07:07:59 +01:00
parent 9fc34100df
commit 1a39d76e48

View File

@ -16,7 +16,7 @@ module.exports = function (element) {
} }
if (i.resizer) { if (i.resizer) {
i.resizer.remove(); i.resizer.parentNode.removeChild(i.resizer);
} }
i.event.unbindAll(); i.event.unbindAll();