Пожалуйста, включите JavaScript.
Главная
Обзор
Помощь
Вход
hardcorenarrativist
/
3d-die-roller
Следить
1
В избранное
0
Форкнуть
0
Код
Задачи
0
Pull Request'ы
0
Релизы
0
Вики
Активность
Просмотр исходного кода
Fix resetting and initial die quantity
master
Esteban Manchado Velázquez
2 лет назад
Родитель
dbe9c30643
Сommit
7a48c15f57
2 измененных файлов
:
3 добавлений
и
2 удалений
Разделённый вид
Опции Diff
Показать статистику
Скачать Patch файл
Скачать Diff файл
+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();
});
Редактирование
Предпросмотр
Загрузка…
Отмена
Сохранить