Skip to content

Commit c25d409

Browse files
committed
fix import presets browse button
1 parent 36bc437 commit c25d409

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Pages/Text2Image.cshtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
<div style="position: relative; width: 0; height: 0;">
5454
<div class="auto-clear-batch-box" title="If enabled, automatically clears out the image batch when generating a new one. If disabled, leaves history to grow until you refresh the page.">
5555
<span class="form-check form-switch display-inline-block">
56-
<input type="checkbox" class="form-check-input" id="auto_clear_batch_checkbox" onchange="toggleAutoClearBatch()" checked=""> <label class="form-check-label" for="import_presets_overwrite">Auto Clear Batch</label>
56+
<input type="checkbox" class="form-check-input" id="auto_clear_batch_checkbox" onchange="toggleAutoClearBatch()" checked=""> <label class="form-check-label" for="auto_clear_batch_checkbox">Auto Clear Batch</label>
5757
</span>
5858
</div>
5959
</div>
@@ -158,7 +158,7 @@
158158
@WebUtil.ModalHeader("import_presets_modal", "Import Presets")
159159
<div class="modal-body">
160160
<div id="import_preset_upload_container">
161-
<input type="file" id="import_preset_uploader" /> <label for="import_preset_uploader" oninput=":importPresetUpload()"></i>&nbsp; Upload Preset File (JSON or CSV)</label>
161+
<input type="file" id="import_preset_uploader" oninput="importPresetUpload()" /> <label for="import_preset_uploader"></i>&nbsp; Upload Preset File (JSON or CSV)</label>
162162
<textarea id="import_presets_textarea" style="width: 100%;" rows="10" oninput="importPresetsCheck()"></textarea>
163163
</div>
164164
<span class="form-check form-switch display-inline-block">

0 commit comments

Comments
 (0)