Skip to content

Commit

Permalink
Merge pull request #3117 from ONLYOFFICE/fix/bugfix
Browse files Browse the repository at this point in the history
Refactoring
  • Loading branch information
JuliaRadzhabova authored Aug 8, 2024
2 parents 81e0a63 + 0b543b9 commit 7a7cbb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/common/main/lib/controller/ScreenReaderFocus.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ Common.UI.ScreenReaderFocusManager = new(function() {
var _showFocus = function () {
if (_currentControls.length === 0 || ($('#file-menu-panel').is(':visible' || _isEditDiagram) && _currentLevel === 1)) {
_getControls();
console.log(_currentControls);
// console.log(_currentControls);
}
if (!_focusVisible) {
if ($('#file-menu-panel').is(':visible')) {
Expand All @@ -114,7 +114,7 @@ Common.UI.ScreenReaderFocusManager = new(function() {
_setFocusInSideMenu($(_currentSection).prop('id') === 'left-menu');
}
var currItem = _currentControls[_currentItemIndex];
console.log(_currentControls[_currentItemIndex]);
// console.log(_currentControls[_currentItemIndex]);
if (currItem) {
if ($(currItem).parent().hasClass('ribtab') && !$(currItem).parent().hasClass('active') && $(currItem).data('tab') !== 'file') {
$(currItem).trigger(jQuery.Event('click', {which: 1}));
Expand Down

0 comments on commit 7a7cbb4

Please sign in to comment.