[DE PE SSE] Turn off alt hints on mac in FireFox (there is shortcut F6 to select link in address bar)

This commit is contained in:
JuliaSvinareva 2022-10-11 17:01:54 +03:00
parent 32e477f3e6
commit 0d2359bdb6
4 changed files with 5 additions and 5 deletions

View file

@ -457,7 +457,7 @@ Common.UI.HintManager = new(function() {
};
var _init = function(api) {
if (Common.Utils.isIE)
if (Common.Utils.isIE || Common.UI.isMac && Common.Utils.isGecko) // turn off hints on IE and FireFox (shortcut F6 selects link in address bar)
return;
_api = api;
@ -664,7 +664,7 @@ Common.UI.HintManager = new(function() {
};
var _clearHints = function (isComplete) {
if (Common.Utils.isIE)
if (Common.Utils.isIE || Common.UI.isMac && Common.Utils.isGecko)
return;
_hintVisible && _hideHints();
if (_currentHints.length > 0) {

View file

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

View file

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

View file

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