Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Commit aed1ea0

Browse files
authored
Merge pull request #3859 from rupato-deriv/Rupato--fix-removed-duedate
fix: removed due date
2 parents 125eca2 + b3f32dc commit aed1ea0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/common/lang.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ export const load = () => {
7272
script.src = `${document.location.protocol}//cdn.crowdin.com/jipt/jipt.js`;
7373
$('body').append(script);
7474
}
75-
console.log(lang, 'dnashjdnajksdnajksdnakjsdnksajnkjs');
7675

7776
init(lang);
7877

src/indexPage/index.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ const oneDay = 24;
2323

2424
// eslint-disable-next-line one-var
2525
export const bannerToken = getStorage('setDueDateForBanner');
26+
if (bannerToken) {
27+
remove('setDueDateForBanner');
28+
}
2629

2730
// eslint-disable-next-line arrow-body-style
2831
export const expirationDate = () => {
@@ -105,7 +108,7 @@ const renderElements = () => {
105108
document.getElementById('bot-main').classList.add('hidden');
106109
return false;
107110
}
108-
if (window.location.pathname.indexOf('/bot') === -1) {
111+
if (isBinaryDomain) {
109112
render(isBinaryDomain && <Logo />, document.getElementById('binary-logo'));
110113
render(<Footer />, document.getElementById('footer'));
111114
isEuCountry().then(isEu => showHideEuElements(isEu));

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy