diff --git a/static-parts/index-start.html b/static-parts/index-start.html index a0060d67e..0ecf1810d 100644 --- a/static-parts/index-start.html +++ b/static-parts/index-start.html @@ -33,7 +33,7 @@ }) } function clipboard() { - const snippets = document.querySelectorAll("pre"); + const snippets = document.querySelectorAll(":not(pre) + pre"); snippets.forEach(element => { const button = document.createElement("button"); button.innerHTML = "Copy to clipboard";