luci.js: remove unsafe fallback code from dom.parse()
authorJo-Philipp Wich <jo@mein.io>
Thu, 23 Dec 2021 16:09:13 +0000 (17:09 +0100)
committerJo-Philipp Wich <jo@mein.io>
Thu, 23 Dec 2021 16:09:13 +0000 (17:09 +0100)
commit63d9bcb6825fac92fd7dfa4ba858c8d5aafa23e8
treea833d9d46f01f254b0a23cabb197123092db5bad
parent993151504e8e810c083d3257555bdcdc2f00673a
luci.js: remove unsafe fallback code from dom.parse()

Do not fallback to .innerHTML if DOMParser() failed for whatever reason.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/luci.js