File tree Expand file tree Collapse file tree 3 files changed +1
-21
lines changed
templates/_common/_layout Expand file tree Collapse file tree 3 files changed +1
-21
lines changed Original file line number Diff line number Diff line change @@ -40,19 +40,17 @@ const Header = (() => {
4040 } ;
4141
4242 const onLoad = ( ) => {
43- const shadow_header = getElementById ( 'template_header' ) ;
4443 populateAccountsList ( ) ;
4544 populateWalletAccounts ( ) ;
4645 bindSvg ( ) ;
46+ switchHeaders ( ) ;
4747 BinarySocket . wait ( 'authorize' , 'landing_company' ) . then ( ( ) => {
48- switchHeaders ( ) ;
4948 setHeaderUrls ( ) ;
5049 bindPlatform ( ) ;
5150 bindClick ( ) ;
5251 } ) ;
5352 if ( Client . isLoggedIn ( ) ) {
5453 displayAccountStatus ( ) ;
55- shadow_header . remove ( ) ;
5654 }
5755 fullscreen_map . event . forEach ( event => {
5856 document . addEventListener ( event , onFullScreen , false ) ;
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ import Head from './head.jsx';
33import Header from './header.jsx' ;
44// import MobileMenu from './mobile_menu.jsx';
55import WalletHeader from './wallet-header.jsx' ;
6- import TemplateHeader from './templateHeader.jsx' ;
76import DerivIFrame from '../includes/deriv-iframe.jsx' ;
87// import Elevio from '../includes/elevio.jsx';
98import Gtm from '../includes/gtm.jsx' ;
@@ -69,7 +68,6 @@ const Layout = () => {
6968 < Gtm />
7069 < div id = 'msg_notification' className = 'notice-msg center-text' />
7170 < div id = 'page-wrapper' >
72- < TemplateHeader />
7371 < Header />
7472 < WalletHeader />
7573 < div id = 'content-holder' >
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments