Made everything more realtime

This commit is contained in:
Jesse James Isler 2022-03-31 13:37:14 +02:00
parent 7f5c7ab7d1
commit 28b4573b43

View File

@ -41,7 +41,7 @@
</div> </div>
<div class="row"> <div class="row">
<div class="input-field col s3"> <div class="input-field col s3">
<select id="rolecolor" onkeyup="updateCard()"> <select id="rolecolor" onchange="updateCard()">
<option value="" disabled selected>Color</option> <option value="" disabled selected>Color</option>
<option value="red">Red</option> <option value="red">Red</option>
<option value="pink">Pink</option> <option value="pink">Pink</option>
@ -69,7 +69,7 @@
<label>Select color</label> <label>Select color</label>
</div> </div>
<div class="input-field col s3"> <div class="input-field col s3">
<select id="modifier" onkeyup="updateCard()"> <select id="modifier" onchange="updateCard()">
<option value="" selected>None</option> <option value="" selected>None</option>
<option value="lighten">Lighten</option> <option value="lighten">Lighten</option>
<option value="darken">Darken</option> <option value="darken">Darken</option>
@ -78,7 +78,7 @@
<label>Select Modifier</label> <label>Select Modifier</label>
</div> </div>
<div class="input-field col s3"> <div class="input-field col s3">
<select id="strength" onkeyup="updateCard()"> <select id="strength" onchange="updateCard()">
<option value="" selected>No Strength</option> <option value="" selected>No Strength</option>
<option value="1">1</option> <option value="1">1</option>
<option value="2">2</option> <option value="2">2</option>
@ -88,7 +88,7 @@
<label>Select Strength</label> <label>Select Strength</label>
</div> </div>
<div class="input-field col s3"> <div class="input-field col s3">
<select id="tcolor" onkeyup="updateCard()"> <select id="tcolor" onchange="updateCard()">
<option value="" disabled selected>Textcolor</option> <option value="" disabled selected>Textcolor</option>
<option value="black-text">Black</option> <option value="black-text">Black</option>
<option value="white-text">White</option> <option value="white-text">White</option>