From b7c1290528f907c9f41afcdfd33a2227c73e26d3 Mon Sep 17 00:00:00 2001 From: nick2202 <42198955+nick2202@users.noreply.github.com> Date: Fri, 22 Sep 2023 10:13:43 +0200 Subject: [PATCH] Fix wrong spelling of JS method .innerHTML --- docs/patterns/javascript.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/patterns/javascript.rst b/docs/patterns/javascript.rst index c9c4b0c8b3..d58a3eb6b4 100644 --- a/docs/patterns/javascript.rst +++ b/docs/patterns/javascript.rst @@ -197,7 +197,7 @@ in the previous section. The following example shows how to replace a const geology_div = getElementById("geology-fact") fetch(geology_url) .then(response => response.text) - .then(text => geology_div.innerHtml = text) + .then(text => geology_div.innerHTML = text)