Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions src/javascript/app/base/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,6 @@ const Page = (() => {
};

const onLoad = () => {
const host_name = $(location).attr('hostname');
const removeBranding = () => {
if (host_name !== 'localhost' && host_name !== 'binary.com' && host_name !== 'staging.binary.com' && !host_name.includes('binary-static-git-fork')) {
$('.remove-branding').remove();
}
};
if (State.get('is_loaded_by_pjax')) {
Url.reset();
updateLinksURL('#content');
Expand All @@ -102,7 +96,6 @@ const Page = (() => {
// InterviewPopup.onLoad();
}
}
removeBranding();
Header.onLoad();
Footer.onLoad();
Language.setCookie();
Expand Down
2 changes: 1 addition & 1 deletion src/templates/_common/_layout/footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const DialogNotification = () => (
);

const Footer = () => (
<div id='footer' className='no-print remove-branding'>
<div id='footer' className='no-print'>
<div id='footer-menu' className='primary-bg-color gr-padding-10'>
<div className='container'>
<div className='gr-row gr-padding-10'>
Expand Down
2 changes: 1 addition & 1 deletion src/templates/_common/_layout/header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const Header = () => (
<div className='container'>
<div className='gr-12'>
<div className='gr-row gr-row-align-middle'>
<div className='gr-3 gr-2-m gr-2-p remove-branding'>
<div className='gr-3 gr-2-m gr-2-p'>
<a id='logo' href='javascript:;' className='gr-11'>
<div className='gr-row logo-parent'>
<div className='gr-3 gr-12-m gr-12-p gr-no-gutter logo'>
Expand Down