mirror of
https://github.com/php/web-php.git
synced 2026-03-23 23:02:13 +01:00
interactive-examples.js: Enable for informal examples
This commit is contained in:
@@ -60,7 +60,7 @@ class PHP {
|
||||
async function main() {
|
||||
let lastOutput = null;
|
||||
|
||||
document.querySelectorAll(".example .example-contents").forEach((example) => {
|
||||
document.querySelectorAll(".example .example-contents, .informalexample .example-contents").forEach((example) => {
|
||||
const button = document.createElement("button");
|
||||
button.setAttribute("type", "button");
|
||||
const phpcode = example.querySelector(".phpcode.annotation-interactive");
|
||||
|
||||
Reference in New Issue
Block a user