mirror of
https://github.com/hexahigh/games.git
synced 2025-12-11 20:15:38 +01:00
piss fix
This commit is contained in:
parent
7608abb99a
commit
b30ab51bb6
@ -4,8 +4,9 @@
|
||||
<div>
|
||||
<input type="file" id="image-input" accept="image/*">
|
||||
<img id="preview"></img>
|
||||
<img id="tomotowErSvart"></img>
|
||||
<button onclick="const img = document.getElementById('preview');
|
||||
const blackAndWhiteImg = convertToBlackAndWhite(img);
|
||||
const blackAndWhiteImg = convertToBlackAndWhite(img); document.getElementById('tomotowErSvart').src =blackAndWhiteImg;
|
||||
">Black and white</button>
|
||||
</div>
|
||||
<script>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user