From b0273c3c863933b25d6866918f26735ddc750642 Mon Sep 17 00:00:00 2001 From: Antonio Cangiano Date: Mon, 5 Aug 2019 17:46:26 -0700 Subject: [PATCH] Fix JavaScript hello world example The current snippet note example references a non-existent element with id `enjoy`. I updated it to reference the correct id (i.e., `hello`). --- browser/main/Main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser/main/Main.js b/browser/main/Main.js index 30bf8e8af..9ea9e7d45 100644 --- a/browser/main/Main.js +++ b/browser/main/Main.js @@ -102,7 +102,7 @@ class Main extends React.Component { { name: 'example.js', mode: 'javascript', - content: "var boostnote = document.getElementById('enjoy').innerHTML\n\nconsole.log(boostnote)", + content: "var boostnote = document.getElementById('hello').innerHTML\n\nconsole.log(boostnote)", linesHighlighted: [] } ]