Migrate to svelte 5
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
<h2 class="mb-2 text-2xl font-bold mt-2">{language.globalRegexScript} <Help key="regexScript" /></h2>
|
||||
<RegexList bind:value={$DataBase.globalscript} />
|
||||
<div class="text-textcolor2 mt-2 flex gap-2">
|
||||
<button class="font-medium cursor-pointer hover:text-green-500" on:click={() => {
|
||||
<button class="font-medium cursor-pointer hover:text-green-500" onclick={() => {
|
||||
let script = $DataBase.globalscript
|
||||
script.push({
|
||||
comment: "",
|
||||
@@ -19,10 +19,10 @@
|
||||
})
|
||||
$DataBase.globalscript = script
|
||||
}}><PlusIcon /></button>
|
||||
<button class="font-medium cursor-pointer hover:text-green-500" on:click={() => {
|
||||
<button class="font-medium cursor-pointer hover:text-green-500" onclick={() => {
|
||||
exportRegex()
|
||||
}}><DownloadIcon /></button>
|
||||
<button class="font-medium cursor-pointer hover:text-green-500" on:click={() => {
|
||||
<button class="font-medium cursor-pointer hover:text-green-500" onclick={() => {
|
||||
importRegex()
|
||||
}}><FolderUpIcon /></button>
|
||||
</div>
|
||||
Reference in New Issue
Block a user