diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-12-31 13:10:23 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-31 13:10:23 -0500 |
commit | 1ac4e979e49cf65fbda1ad8f9a92b22b5b22bccf (patch) | |
tree | 63fc48d5f4a2f40005d42e6863e0d58a03d5a852 /ext/bg/welcome.html | |
parent | 6c46afedf7a8983a1fd04c23e5590f4c0421f334 (diff) |
Improve settings transforms (#1187)
Diffstat (limited to 'ext/bg/welcome.html')
-rw-r--r-- | ext/bg/welcome.html | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ext/bg/welcome.html b/ext/bg/welcome.html index 86c8ee83..2c769e2b 100644 --- a/ext/bg/welcome.html +++ b/ext/bg/welcome.html @@ -132,7 +132,13 @@ <div class="settings-item-description">When no text or definitions are found, the popup will automatically hide.</div> </div> <div class="settings-item-right"> - <label class="toggle"><input type="checkbox" data-setting="scanning.autoHideResults" data-transform="setVisibility" data-ancestor-distance="-1" data-relative-selector="#auto-hide-search-popup-options" data-visbility-condition='{"op":"===","value":true}'><span class="toggle-body"><span class="toggle-track"></span><span class="toggle-knob"></span></span></label> + <label class="toggle"><input type="checkbox" data-setting="scanning.autoHideResults" + data-transform='{ + "type": "setVisibility", + "selector": "#auto-hide-search-popup-options", + "condition": {"op": "===", "value": true} + }' + ><span class="toggle-body"><span class="toggle-track"></span><span class="toggle-knob"></span></span></label> </div> </div> <div class="settings-item-children settings-item-children-group" id="auto-hide-search-popup-options" hidden> |