From 0b543b93601aabf7005989fc81d77c7b3e7a13b8 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Thu, 8 Aug 2024 17:46:46 +0300 Subject: [PATCH] Refactoring --- apps/common/main/lib/controller/ScreenReaderFocus.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/common/main/lib/controller/ScreenReaderFocus.js b/apps/common/main/lib/controller/ScreenReaderFocus.js index 7f14e4e441..bb011253ec 100644 --- a/apps/common/main/lib/controller/ScreenReaderFocus.js +++ b/apps/common/main/lib/controller/ScreenReaderFocus.js @@ -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')) { @@ -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}));