Skip to content

Commit 6aeb948

Browse files
author
Simon Brooke
committed
Revert "- Force number of dice to be 2 - 9 if manually typed in"
This reverts commit bf2f72e.
1 parent bf2f72e commit 6aeb948

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

Household/Household.html

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1007,25 +1007,5 @@ <h3 data-i18n="notes-u">Notes</h3>
10071007
setAttrs({lastroll: ""});
10081008
});
10091009

1010-
/*
1011-
*
1012-
*/
1013-
on("change:num_dice", function(e) {
1014-
1015-
console.log("change:num_dice: " + JSON.stringify(e));
1016-
1017-
let attrs;
1018-
if(+e.newValue < 2) {
1019-
attrs = {num_dice: 2};
1020-
}
1021-
if(+e.newValue > 9) {
1022-
attrs = {num_dice: 9};
1023-
}
1024-
1025-
if(attrs) {
1026-
setAttrs(attrs);
1027-
}
1028-
});
1029-
10301010
</script>
10311011
</div>

0 commit comments

Comments
 (0)