Skip to content

Commit

Permalink
allow js/json file input
Browse files Browse the repository at this point in the history
  • Loading branch information
SalatielSauer committed Jan 1, 2025
1 parent 32f2541 commit 02a7b2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ <h2 id="filesystem-file">No file selected</h2>
</div>
<button id="button_save">💾 Save .OGZ</button>
<div class="file-input-wrapper">
<button class="file-input-button" id="main-file-upload-button" onclick="window['input_file'].click();">📁 Upload Image/GIF</button>
<button class="file-input-button" id="main-file-upload-button" onclick="window['input_file'].click();">📁 Upload Image/GIF/JSON</button>
<button id="main-asset-clear-button"></button>
<input type="file" id="input_file" accept="image/*" multiple>
<input type="file" id="input_file" accept="image/*,.json,.js" multiple>
</div>
</div>
</div>
Expand Down

0 comments on commit 02a7b2c

Please sign in to comment.