diff --git a/dice/index.html b/dice/index.html index b1d2a8a..9957981 100644 --- a/dice/index.html +++ b/dice/index.html @@ -37,7 +37,7 @@
-
+
diff --git a/dice/main.js b/dice/main.js index 3f972dd..e9b8408 100644 --- a/dice/main.js +++ b/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(); });