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:10:18 +0000 (17:10 +0100)
commitb3cd4735174db053fd30df097be09bd2c8992d9f
treeaa16f448212e654780c39617888959e6c2f5fd54
parentdb88156dff24f58c96706bc350ec97b7f5341c86
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>
(cherry picked from commit 63d9bcb6825fac92fd7dfa4ba858c8d5aafa23e8)
modules/luci-base/htdocs/luci-static/resources/luci.js