Merge pull request #1977 from ONLYOFFICE/fix/hints-ie

[DE PE SSE] Hide alt hints on ie
This commit is contained in:
JuliaSvinareva 2022-09-22 20:17:36 +03:00 committed by GitHub
commit 4dcd91e106
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 0 deletions

View file

@ -457,6 +457,8 @@ Common.UI.HintManager = new(function() {
};
var _init = function(api) {
if (Common.Utils.isIE)
return;
_api = api;
var filter = Common.localStorage.getKeysFilter();
@ -661,6 +663,8 @@ Common.UI.HintManager = new(function() {
};
var _clearHints = function (isComplete) {
if (Common.Utils.isIE)
return;
_hintVisible && _hideHints();
if (_currentHints.length > 0) {
_resetToDefault();

View file

@ -410,6 +410,7 @@ define([
dataHintDirection: 'left',
dataHintOffset: 'small'
});
Common.Utils.isIE && this.chUseAltKey.$el.parent().parent().hide();
/** coauthoring begin **/
this.chLiveComment = new Common.UI.CheckBox({

View file

@ -359,6 +359,7 @@ define([
dataHintDirection: 'left',
dataHintOffset: 'small'
});
Common.Utils.isIE && this.chUseAltKey.$el.parent().parent().hide();
this.cmbZoom = new Common.UI.ComboBox({
el : $markup.findById('#fms-cmb-zoom'),

View file

@ -378,6 +378,7 @@ define([
dataHintDirection: 'left',
dataHintOffset: 'small'
});
Common.Utils.isIE && this.chUseAltKey.$el.parent().parent().hide();
this.rbCoAuthModeFast = new Common.UI.RadioBox({
el : $markup.findById('#fms-rb-coauth-mode-fast'),