Skip to content

Commit

Permalink
Merge branch 'deriv-com:master' into maryia/DTRA-1323/redirect-to-en-…
Browse files Browse the repository at this point in the history
…from-unsupp-langs
  • Loading branch information
maryia-deriv authored Jun 6, 2024
2 parents c838408 + 2b2caf8 commit 03384f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/javascript/app/base/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -890,7 +890,8 @@ const Header = (() => {
event : 'click',
activate(ui) {
updateTotal();
const currentTab = ui.currentTarget.hash;
const defaultOpenedTab = is_virtual ? '#demo_tab' : '#real_tab';
const currentTab = ui.currentTarget ? ui.currentTarget.hash : defaultOpenedTab;
if (currentTab === '#demo_tab') {
manage_acc_btn.style.visibility = 'hidden';
showTradersHubLink(true);
Expand Down

0 comments on commit 03384f4

Please sign in to comment.