From 0c31bc605e21965aad8a6479bb1969351773f76d Mon Sep 17 00:00:00 2001 From: Rohan Sharma Date: Mon, 24 Jan 2022 23:09:24 +0530 Subject: [PATCH] Only load trusted iframe (#23245) --- docs/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.html b/docs/index.html index a793da74a23b4..c8a41b4b2b1e7 100644 --- a/docs/index.html +++ b/docs/index.html @@ -498,7 +498,7 @@

three.js

const oldIframe = iframe; iframe = oldIframe.cloneNode(); - if ( hash ) { + if ( hash && titles[ splitHash[ 0 ] ] ) { iframe.src = splitHash[ 0 ] + '.html' + splitHash[ 1 ]; subtitle = titles[ splitHash[ 0 ] ] + splitHash[ 1 ] + ' – ';