We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e64d60e commit 12852cfCopy full SHA for 12852cf
1 file changed
js/interactive-examples.js
@@ -74,7 +74,9 @@ async function main() {
74
if (exampleTitleContainer !== null) {
75
exampleTitleParagraphElement = exampleTitleContainer.querySelector("p")
76
const exampleScreenContainer = exampleTitleContainer.nextElementSibling;
77
- exampleScreenPreElement = exampleScreenContainer.querySelector("pre");
+ if (exampleScreenContainer !== null) {
78
+ exampleScreenPreElement = exampleScreenContainer.querySelector("pre");
79
+ }
80
}
81
82
const code = phpcode.querySelector("code");
0 commit comments