diff --git a/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/InfoLi.js b/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/InfoLi.js index c6ee8c2..4f713a9 100644 --- a/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/InfoLi.js +++ b/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/InfoLi.js @@ -88,9 +88,6 @@ export default function getInfoLi() { /* CHILDREN */ - input:not(:checked) ~ .children { - display: none; - } .children { flex-grow: 9999; } @@ -118,9 +115,21 @@ export default function getInfoLi() { }, props); const iddy = props.idPrefix + ( props.ifDashify ? camelToDash(props.conf.key) : props.conf.key ); + + const inputProps = { + id: iddy, + name: props.name, + type: props.type, + checked: props.checked, + onClick: props.onClick, + onChange: props.onChange, + class: props.class, + }; + delete inputProps.children; + return (