Tämä sivusto toimii paremmin JavaScriptillä.
Etusivu
Tutki
Apua
Kirjaudu sisään
hardcorenarrativist
/
3d-die-roller
Tarkkaile
1
Äänestä
0
Fork
0
Koodi
Ongelmat
0
Pull-pyynnöt
0
Julkaisut
0
Wiki
Activity
Selaa lähdekoodia
Fix resetting and initial die quantity
master
Esteban Manchado Velázquez
2 vuotta sitten
vanhempi
dbe9c30643
commit
7a48c15f57
2 muutettua tiedostoa
jossa
3 lisäystä
ja
2 poistoa
Jaettu näkymä
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
dice/index.html
+2
-1
dice/main.js
+ 1
- 1
dice/index.html
Näytä tiedosto
@@ -37,7 +37,7 @@
</div>
</div>
<div class="center_field">
<input type="text" id="set" value="
4d6
"></input><br/>
<input type="text" id="set" value=""></input><br/>
<button id="clear">clear</button>
<button style="margin-left: 0.6em" id="throw">throw</button>
</div>
+ 2
- 1
dice/main.js
Näytä tiedosto
@@ -26,7 +26,8 @@ function diceInitialize(container, w, h) {
$t.bind($t.id('clear'), ['mouseup', 'touchend', 'touchcancel'], function(ev) {
ev.stopPropagation();
set.value = '0';
set.dataset.fullDieProps = "";
set.value = '';
onSetChange();
});
Write
Preview
Loading…
Peruuta
Tallenna