on master help sign in
- Uppercase hex values (was causing some error)
commit36c1beb130d90621ea2b0f181ab843f1dca126a8 authorChris Johnson <chris@cjohnson.io> dateThu 21 Mar 2019, 12:41 (8 years ago) parent223a2dd
1 file changed+2−2
src/views/SetKeys.js+2−2
src/views/SetKeys.js+2−2
@@ -128,8 +128,8 @@ class SetKeys extends React.Component {
128128 let hex = "";
129129
130130 for (var i = 0; i < len; i++) {
131− hex = hex + ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b',
132− 'c', 'd', 'e', 'f'][Math.floor(Math.random() * 16)]
131+ hex = hex + ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B',
132+ 'C', 'D', 'E', 'F'][Math.floor(Math.random() * 16)]
133133 }
134134
135135 return hex;