2
0
Эх сурвалжийг харах

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

Co-authored-by: Felix Mariotto <[email protected]>
Felix Mariotto 4 жил өмнө
parent
commit
43d9a8e2d8
1 өөрчлөгдсөн 2 нэмэгдсэн , 0 устгасан
  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';
 
 			}