diff --git a/src/common/lang.js b/src/common/lang.js index dbf4e287b..e1fb2923a 100644 --- a/src/common/lang.js +++ b/src/common/lang.js @@ -72,7 +72,6 @@ export const load = () => { script.src = `${document.location.protocol}//cdn.crowdin.com/jipt/jipt.js`; $('body').append(script); } - console.log(lang, 'dnashjdnajksdnajksdnakjsdnksajnkjs'); init(lang); diff --git a/src/indexPage/index.js b/src/indexPage/index.js index 2d6f3f60e..3707ec85d 100644 --- a/src/indexPage/index.js +++ b/src/indexPage/index.js @@ -23,6 +23,9 @@ const oneDay = 24; // eslint-disable-next-line one-var export const bannerToken = getStorage('setDueDateForBanner'); +if (bannerToken) { + remove('setDueDateForBanner'); +} // eslint-disable-next-line arrow-body-style export const expirationDate = () => { @@ -105,7 +108,7 @@ const renderElements = () => { document.getElementById('bot-main').classList.add('hidden'); return false; } - if (window.location.pathname.indexOf('/bot') === -1) { + if (isBinaryDomain) { render(isBinaryDomain && , document.getElementById('binary-logo')); render(