File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5555 'core-styles-module_show__Nt9eE' ,
5656 'react-tooltip__show' ,
5757 ) ;
58- tooltip . style . cssText = 'z-index: 2147483647; font-size: 14px; padding: 6px 10px; max-width: 250px; display: none; position: absolute;' ;
58+ tooltip . style . zIndex = '2147483647' ;
59+ tooltip . style . fontSize = '14px' ;
60+ tooltip . style . padding = '6px 10px' ;
61+ tooltip . style . maxWidth = '250px' ;
62+ tooltip . style . display = 'none' ;
63+ tooltip . style . position = 'absolute' ;
5964 tooltip . innerHTML =
6065 'Direct Link<div class="react-tooltip-arrow core-styles-module_arrow__cvMwQ styles-module_arrow__K0L3T" style="left: 38px; top: -4px;"></div>' ;
6166
62- document . body . appendChild ( tooltip ) ;
67+ if ( ! document . getElementById ( 'tooltip-direct-video-link-button' ) ) {
68+ document . body . appendChild ( tooltip ) ;
69+ }
6370
6471 console . log ( 'Tooltip element created' , tooltip ) ;
6572 return tooltip ;
You can’t perform that action at this time.
0 commit comments