aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-03-02 05:01:23 +0800
committerDan Finlay <dan@danfinlay.com>2017-03-02 05:01:23 +0800
commit5f378d382e008ef577223055c9674c25e2e6bba4 (patch)
tree5c9ba1811aec23f0672c89f360a92d4735646e6c /ui
parentf162a11585392df5e593018a02549f8b03018d22 (diff)
downloadtangerine-wallet-browser-5f378d382e008ef577223055c9674c25e2e6bba4.tar
tangerine-wallet-browser-5f378d382e008ef577223055c9674c25e2e6bba4.tar.gz
tangerine-wallet-browser-5f378d382e008ef577223055c9674c25e2e6bba4.tar.bz2
tangerine-wallet-browser-5f378d382e008ef577223055c9674c25e2e6bba4.tar.lz
tangerine-wallet-browser-5f378d382e008ef577223055c9674c25e2e6bba4.tar.xz
tangerine-wallet-browser-5f378d382e008ef577223055c9674c25e2e6bba4.tar.zst
tangerine-wallet-browser-5f378d382e008ef577223055c9674c25e2e6bba4.zip
Only allow numbers in gas inputs
Diffstat (limited to 'ui')
-rw-r--r--ui/app/components/hex-as-decimal-input.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/app/components/hex-as-decimal-input.js b/ui/app/components/hex-as-decimal-input.js
index 523c1264b..ecf232640 100644
--- a/ui/app/components/hex-as-decimal-input.js
+++ b/ui/app/components/hex-as-decimal-input.js
@@ -44,6 +44,7 @@ HexAsDecimalInput.prototype.render = function () {
textAlign: 'right',
backgroundColor: 'transparent',
border: '1px solid #bdbdbd',
+ type: 'number',
}, style),
value: decimalValue,
onChange: (event) => {