From 3c71b815f556fe153c4673ed7025a0b31ff85409 Mon Sep 17 00:00:00 2001 From: HirokiUchikawa Date: Thu, 26 Jul 2018 20:13:08 +0900 Subject: [PATCH] Fix to remove unnecessary typedInput element --- editor/js/ui/common/typedInput.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/editor/js/ui/common/typedInput.js b/editor/js/ui/common/typedInput.js index 59db274f7..2243f0718 100644 --- a/editor/js/ui/common/typedInput.js +++ b/editor/js/ui/common/typedInput.js @@ -440,6 +440,9 @@ } }, _destroy: function() { + if (this.optionMenu) { + this.optionMenu.remove(); + } this.menu.remove(); }, types: function(types) {