Explorar o código

doc: fix dark theme on empty location hash (#21929)

Co-authored-by: Felix Mariotto <[email protected]>
Felix Mariotto %!s(int64=4) %!d(string=hai) anos
pai
achega
43d9a8e2d8
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      docs/index.html

+ 2 - 0
docs/index.html

@@ -478,11 +478,13 @@
 
 				iframe.src = splitHash[ 0 ] + '.html' + splitHash[ 1 ];
 				subtitle = titles[ splitHash[ 0 ] ] + splitHash[ 1 ] + ' – ';
+				iframe.style.display = 'unset';
 
 			} else {
 
 				iframe.src = '';
 				subtitle = '';
+				iframe.style.display = 'none';
 
 			}