summaryrefslogtreecommitdiff
path: root/source/options.tsx
diff options
context:
space:
mode:
authorGravatar Federico Brigante <me@fregante.com> 2023-09-27 19:01:47 +0800
committerGravatar GitHub <noreply@github.com> 2023-09-27 19:01:47 +0800
commita0db15a58dacd30a80edd075bd646bef02bc1287 (patch)
tree9171923713cd6796294aedbadb32c87c936d208c /source/options.tsx
parent754fe20d6902fc8d66ff03566e4ee59029814736 (diff)
downloadrefined-github-a0db15a58dacd30a80edd075bd646bef02bc1287.tar.gz
refined-github-a0db15a58dacd30a80edd075bd646bef02bc1287.tar.zst
refined-github-a0db15a58dacd30a80edd075bd646bef02bc1287.zip
Only show the options if JS has loaded correctly (#6948)
Diffstat (limited to '')
-rw-r--r--source/options.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/options.tsx b/source/options.tsx
index eddefc5f..3c5e842f 100644
--- a/source/options.tsx
+++ b/source/options.tsx
@@ -300,6 +300,9 @@ async function generateDom(): Promise<void> {
// Update list from saved options
await perDomainOptions.syncForm('form');
+ // Only now the form is ready, we can show it
+ select('#js-failed')!.remove();
+
// Decorate list
moveDisabledFeaturesToTop();