nsarrazin HF staff commited on
Commit
f0058cf
1 Parent(s): 2272dad

remove target on disclaimer form

Browse files
src/lib/components/DisclaimerModal.svelte CHANGED
@@ -12,7 +12,7 @@
12
 
13
  <Modal>
14
  <div
15
- class="flex w-full flex-col items-center gap-6 bg-gradient-to-b from-primary-500/40 via-primary-500/10 to-primary-500/0 px-5 pb-8 pt-9 text-center sm:px-6"
16
  >
17
  <h2 class="flex items-center text-2xl font-semibold text-gray-800">
18
  <Logo classNames="mr-1" />
@@ -30,7 +30,7 @@
30
 
31
  <div class="flex w-full flex-col items-center gap-2">
32
  {#if $page.data.guestMode || !$page.data.loginEnabled}
33
- <form action="{base}/settings" target="_parent" method="POST" class="w-full">
34
  <input type="hidden" name="ethicsModalAccepted" value={true} />
35
  {#each Object.entries(settings).filter(([k]) => !(k === "customPrompts")) as [key, val]}
36
  <input type="hidden" name={key} value={val} />
 
12
 
13
  <Modal>
14
  <div
15
+ class="from-primary-500/40 via-primary-500/10 to-primary-500/0 flex w-full flex-col items-center gap-6 bg-gradient-to-b px-5 pb-8 pt-9 text-center sm:px-6"
16
  >
17
  <h2 class="flex items-center text-2xl font-semibold text-gray-800">
18
  <Logo classNames="mr-1" />
 
30
 
31
  <div class="flex w-full flex-col items-center gap-2">
32
  {#if $page.data.guestMode || !$page.data.loginEnabled}
33
+ <form action="{base}/settings" method="POST" class="w-full">
34
  <input type="hidden" name="ethicsModalAccepted" value={true} />
35
  {#each Object.entries(settings).filter(([k]) => !(k === "customPrompts")) as [key, val]}
36
  <input type="hidden" name={key} value={val} />