Revert "- Force number of dice to be 2 - 9 if manually typed in"

This reverts commit bf2f72ecf6.
This commit is contained in:
Simon Brooke
2026-02-05 10:55:58 +00:00
parent bf2f72ecf6
commit 6aeb9485f1
-20
View File
@@ -1007,25 +1007,5 @@
setAttrs({lastroll: ""});
});
/*
*
*/
on("change:num_dice", function(e) {
console.log("change:num_dice: " + JSON.stringify(e));
let attrs;
if(+e.newValue < 2) {
attrs = {num_dice: 2};
}
if(+e.newValue > 9) {
attrs = {num_dice: 9};
}
if(attrs) {
setAttrs(attrs);
}
});
</script>
</div>