Skip to content
Snippets Groups Projects
Commit 95615f84 authored by Blank_Alt's avatar Blank_Alt
Browse files

Fix

parent bf72f187
No related branches found
No related tags found
1 merge request!7464Restore tab defaults
...@@ -240,7 +240,7 @@ App.UI.tabbar = function() { ...@@ -240,7 +240,7 @@ App.UI.tabbar = function() {
function selectTab() { function selectTab() {
let tabBtn = document.getElementById(`tab ${selectedTab}`); let tabBtn = document.getElementById(`tab ${selectedTab}`);
if (!tabBtn) { if (!tabBtn) {
tabBtn = document.getElementsByClassName('tablinks').item(0); tabBtn = document.getElementsByClassName('tab-links').item(0);
} }
if (tabBtn) { if (tabBtn) {
tabBtn.click(); tabBtn.click();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment