This repository was archived by the owner on Feb 22, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -23,6 +23,9 @@ const oneDay = 24;
2323
2424// eslint-disable-next-line one-var
2525export const bannerToken = getStorage ( 'setDueDateForBanner' ) ;
26+ if ( bannerToken ) {
27+ remove ( 'setDueDateForBanner' ) ;
28+ }
2629
2730// eslint-disable-next-line arrow-body-style
2831export 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 ) ) ;
You can’t perform that action at this time.
0 commit comments