|
@@ -529,17 +529,23 @@
|
|
|
const oldIframe = iframe;
|
|
|
iframe = oldIframe.cloneNode();
|
|
|
|
|
|
+ iframe.style.display = 'none';
|
|
|
+
|
|
|
if ( hash && titles[ splitHash[ 0 ] ] ) {
|
|
|
|
|
|
+ iframe.onload = function () {
|
|
|
+
|
|
|
+ iframe.style.display = 'unset';
|
|
|
+
|
|
|
+ };
|
|
|
+
|
|
|
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';
|
|
|
|
|
|
}
|
|
|
|