Remove unecessary view mode button text update [SCI-8436]

This commit is contained in:
Martin Artnik 2023-05-18 16:43:11 +02:00
parent 7e771d457e
commit e0fb01f164
2 changed files with 0 additions and 2 deletions

View file

@ -462,7 +462,6 @@ var ProjectsIndex = (function() {
function initProjectsViewModeSwitch() {
let projectsPageSelector = '.projects-index';
$('.view-switch-btn-name').text($('.button-to.selected').text());
$('.button-to.selected').removeClass('btn-light');
$('.button-to.selected').addClass('form-dropdown-state-item');
$('.button-to.selected .view-switch-list-span').css('color', 'white');

View file

@ -22,7 +22,6 @@
}
function initProjectsViewModeSwitch() {
$('.view-switch-btn-name').text($('.button-to.selected').text());
$('.button-to.selected').removeClass('btn-light');
$('.button-to.selected').addClass('form-dropdown-state-item');
$('.button-to.selected .view-switch-list-span').css('color', 'white');