Commit 65fc82ef authored by Sven Franck's avatar Sven Franck

app: fixed error when looking for non existing parent

parent 35d3b58c
......@@ -3169,7 +3169,7 @@
}
// handle select > span!
if (element.tagName === "OPTION") {
if (element.selected) {
if (element.selected && element.parentNode.previousSibling) {
element.parentNode.previousSibling.textContent =
element.textContent;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment