1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00

Only allow numbers in gas inputs

This commit is contained in:
Dan Finlay 2017-03-01 13:01:23 -08:00
parent f162a11585
commit 5f378d382e

View File

@ -44,6 +44,7 @@ HexAsDecimalInput.prototype.render = function () {
textAlign: 'right',
backgroundColor: 'transparent',
border: '1px solid #bdbdbd',
type: 'number',
}, style),
value: decimalValue,
onChange: (event) => {