From 644cd9a983a137bca97e65c50b4a25f1cef9d461 Mon Sep 17 00:00:00 2001 From: Angelos Chalaris Date: Fri, 29 Dec 2017 00:01:28 +0200 Subject: [PATCH] Update show.md --- snippets/show.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/show.md b/snippets/show.md index c5b4e439b..2e2302d19 100644 --- a/snippets/show.md +++ b/snippets/show.md @@ -9,5 +9,5 @@ const show = (...el) => [...el].forEach(e => e.style.display = ''); ``` ```js -show(document.querySelector('img')); // Shows all elements on the page +show(document.querySelectorAll('img')); // Shows all elements on the page ```