Il sito funziona meglio con JavaScript.
Home
Esplora
Aiuto
Accedi
hardcorenarrativist
/
3d-die-roller
Segui
1
Vota
0
Forka
0
Codice
Problemi
0
Pull Requests
0
Rilasci
0
Wiki
Attività
Sfoglia il codice sorgente
Fix resetting and initial die quantity
master
Esteban Manchado Velázquez
2 anni fa
parent
dbe9c30643
commit
7a48c15f57
2 ha cambiato i file
con
3 aggiunte
e
2 eliminazioni
Visualizzazione separata
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
Vedi File
@@ -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
Vedi File
@@ -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…
Annulla
Salva