mirror of
https://github.com/yusufipk/imagen-openrouter.git
synced 2026-09-11 10:36:07 +00:00
fix: update button types for better accessibility and enhance incremental gallery updates
This commit is contained in:
+4
-4
@@ -32,7 +32,7 @@
|
||||
<div class="reference-slots" id="referenceSlots">
|
||||
<!-- Slots rendered dynamically by JS -->
|
||||
</div>
|
||||
<button class="btn btn-ghost" id="clearReferences">Clear All References</button>
|
||||
<button type="button" class="btn btn-ghost" id="clearReferences">Clear All References</button>
|
||||
</div>
|
||||
|
||||
<!-- Model Selection -->
|
||||
@@ -105,7 +105,7 @@
|
||||
<div class="config-section">
|
||||
<h3>OpenRouter API Key</h3>
|
||||
<input type="password" id="apiKey" placeholder="sk-or-..." class="text-input">
|
||||
<button class="btn btn-ghost" id="saveApiKey">Save Key</button>
|
||||
<button type="button" class="btn btn-ghost" id="saveApiKey">Save Key</button>
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
@@ -118,7 +118,7 @@
|
||||
rows="3"></textarea>
|
||||
<div class="prompt-actions">
|
||||
<span class="char-count" id="charCount">0 chars</span>
|
||||
<button class="btn btn-primary" id="generateBtn">
|
||||
<button type="button" class="btn btn-primary" id="generateBtn">
|
||||
Generate
|
||||
</button>
|
||||
</div>
|
||||
@@ -129,7 +129,7 @@
|
||||
<div class="gallery-header">
|
||||
<h2>Generated Images</h2>
|
||||
<div class="gallery-actions">
|
||||
<button class="btn btn-ghost" id="clearGallery">Clear Gallery</button>
|
||||
<button type="button" class="btn btn-ghost" id="clearGallery">Clear Gallery</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="gallery" id="gallery">
|
||||
|
||||
Reference in New Issue
Block a user