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 +9
-17
lines changed Expand file tree Collapse file tree 2 files changed +9
-17
lines changed Original file line number Diff line number Diff line change @@ -41,11 +41,7 @@ view.initPromise.then(() => {
41
41
}
42
42
} ) ;
43
43
44
- window . onload = ( ) => {
45
- if ( document . readyState === 'complete' ) {
46
- if ( ! isBinaryDomain ) {
47
- document . getElementsByClassName ( 'dbot-banner__separator' ) [ 0 ] . remove ( ) ;
48
- document . getElementById ( 'logo' ) . remove ( ) ;
49
- }
50
- }
51
- } ;
44
+ if ( ! isBinaryDomain ) {
45
+ document . getElementsByClassName ( 'dbot-banner__separator' ) [ 0 ] . remove ( ) ;
46
+ document . getElementById ( 'logo' ) . remove ( ) ;
47
+ }
Original file line number Diff line number Diff line change @@ -158,12 +158,8 @@ const loginCheck = () => {
158
158
159
159
loginCheck ( ) ;
160
160
161
- window . onload = ( ) => {
162
- if ( document . readyState === 'complete' ) {
163
- if ( ! isBinaryDomain ) {
164
- document . getElementsByClassName ( 'half-width bottom-image puzzle-logo' ) [ 0 ] . remove ( ) ;
165
- document . getElementsByClassName ( 'dbot-banner__separator' ) [ 0 ] . remove ( ) ;
166
- document . getElementsByClassName ( 'half-width top-image' ) [ 0 ] . remove ( ) ;
167
- }
168
- }
169
- } ;
161
+ if ( ! isBinaryDomain ) {
162
+ document . getElementsByClassName ( 'half-width bottom-image puzzle-logo' ) [ 0 ] . remove ( ) ;
163
+ document . getElementsByClassName ( 'dbot-banner__separator' ) [ 0 ] . remove ( ) ;
164
+ document . getElementsByClassName ( 'half-width top-image' ) [ 0 ] . remove ( ) ;
165
+ }
You can’t perform that action at this time.
0 commit comments