This website works better with JavaScript.
Начало
Каталог
Помощ
Вход
hardcorenarrativist
/
3d-die-roller
Наблюдаван
1
Харесван
0
Разклонения
0
Код
Задачи
0
Заявки за сливане
0
Версии
0
Уики
Activity
Преглед на файлове
Fix resetting and initial die quantity
master
Esteban Manchado Velázquez
преди 2 години
родител
dbe9c30643
ревизия
7a48c15f57
променени са
2 файла
, в които са
добавени 3
реда и са
изтрити 2
реда
Разделен изглед
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
Целия файл
@@ -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
Целия файл
@@ -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…
Отказ
Запис