From 49b2001f3d2633bbc52227ca717ae3b0bda9cd75 Mon Sep 17 00:00:00 2001 From: JuliaSvinareva Date: Tue, 30 Nov 2021 16:56:14 +0300 Subject: [PATCH] [DE PE SSE] Fix hide alt hints --- apps/common/main/lib/component/HintManager.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/apps/common/main/lib/component/HintManager.js b/apps/common/main/lib/component/HintManager.js index 3e4be2d82..170eb68ab 100644 --- a/apps/common/main/lib/component/HintManager.js +++ b/apps/common/main/lib/component/HintManager.js @@ -171,7 +171,7 @@ Common.UI.HintManager = new(function() { var _hideHints = function() { _hintVisible = false; _currentHints && _currentHints.forEach(function(item) { - item.hide() + item.remove() }); clearInterval(_inputTimer); }; @@ -571,6 +571,13 @@ Common.UI.HintManager = new(function() { if (isComplete) { _isComplete = true; } + + if ($('.hint-div').length > 0) { + $('.hint-div').remove(); + } + if ($('iframe').length > 0) { + $('iframe').contents().find('.hint-div').remove(); + } }; var _isHintVisible = function () {