mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-03 05:29:46 +08:00
Remove unecessary view mode button text update [SCI-8436]
This commit is contained in:
parent
7e771d457e
commit
e0fb01f164
2 changed files with 0 additions and 2 deletions
|
@ -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');
|
||||
|
|
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue