diff --git a/apps/common/main/lib/component/HintManager.js b/apps/common/main/lib/component/HintManager.js index 68b9af411..5d8dc004e 100644 --- a/apps/common/main/lib/component/HintManager.js +++ b/apps/common/main/lib/component/HintManager.js @@ -357,7 +357,8 @@ Common.UI.HintManager = new(function() { _lang = mode.lang; _getAlphabetLetters(); }, - 'hints:clear': _clearHints + 'hints:clear': _clearHints, + 'window:resize': _clearHints }); $('#editor_sdk').on('click', function () { _clearHints(); diff --git a/apps/common/main/lib/component/TabBar.js b/apps/common/main/lib/component/TabBar.js index 00040f394..030bf0ce1 100644 --- a/apps/common/main/lib/component/TabBar.js +++ b/apps/common/main/lib/component/TabBar.js @@ -423,6 +423,7 @@ define([ this.setTabVisible('backward'); } } + Common.NotificationCenter.trigger('hints:clear'); }, onProcessMouse: function(data) { diff --git a/apps/common/main/lib/mods/perfect-scrollbar.js b/apps/common/main/lib/mods/perfect-scrollbar.js index 5397eb6c7..fe1879cc3 100644 --- a/apps/common/main/lib/mods/perfect-scrollbar.js +++ b/apps/common/main/lib/mods/perfect-scrollbar.js @@ -316,6 +316,7 @@ var shouldPrevent = false; $this.bind('mousewheel' + eventClassName, function (e, deprecatedDelta, deprecatedDeltaX, deprecatedDeltaY) { + Common.NotificationCenter.trigger('hints:clear'); var deltaX = e.deltaX * e.deltaFactor || deprecatedDeltaX, deltaY = e.deltaY * e.deltaFactor || deprecatedDeltaY;