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 = () => {
72
72
script . src = `${ document . location . protocol } //cdn.crowdin.com/jipt/jipt.js` ;
73
73
$ ( 'body' ) . append ( script ) ;
74
74
}
75
- console . log ( lang , 'dnashjdnajksdnajksdnakjsdnksajnkjs' ) ;
76
75
77
76
init ( lang ) ;
78
77
Original file line number Diff line number Diff line change @@ -23,6 +23,9 @@ const oneDay = 24;
23
23
24
24
// eslint-disable-next-line one-var
25
25
export const bannerToken = getStorage ( 'setDueDateForBanner' ) ;
26
+ if ( bannerToken ) {
27
+ remove ( 'setDueDateForBanner' ) ;
28
+ }
26
29
27
30
// eslint-disable-next-line arrow-body-style
28
31
export const expirationDate = ( ) => {
@@ -105,7 +108,7 @@ const renderElements = () => {
105
108
document . getElementById ( 'bot-main' ) . classList . add ( 'hidden' ) ;
106
109
return false ;
107
110
}
108
- if ( window . location . pathname . indexOf ( '/bot' ) === - 1 ) {
111
+ if ( isBinaryDomain ) {
109
112
render ( isBinaryDomain && < Logo /> , document . getElementById ( 'binary-logo' ) ) ;
110
113
render ( < Footer /> , document . getElementById ( 'footer' ) ) ;
111
114
isEuCountry ( ) . then ( isEu => showHideEuElements ( isEu ) ) ;
You can’t perform that action at this time.
0 commit comments