diff options
author | Nick Van Doorn <vandoorn.nick@gmail.com> | 2018-10-10 18:53:26 -0700 |
---|---|---|
committer | Nick Van Doorn <vandoorn.nick@gmail.com> | 2018-10-10 18:53:28 -0700 |
commit | 908c2cb542cac4428d063c4ab76031da94c2e10b (patch) | |
tree | 29ae14751b852cb7bb7a063f584608d459277a41 | |
parent | 1cb5f94b757a8c79cd1e9f0b3f0b00ffabe5597d (diff) |
Return id instead of node
We can't query the node before its in the DOM so returning the id makes
more sense.
-rw-r--r-- | demos/11-pure-js-app.example.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/11-pure-js-app.example.html b/demos/11-pure-js-app.example.html index c7cbf24..056f1b5 100644 --- a/demos/11-pure-js-app.example.html +++ b/demos/11-pure-js-app.example.html @@ -54,7 +54,7 @@ </div> </aside> `, - node: document.getElementById(id) + id } } window.onload = function () { |