diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-09-11 02:23:11 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-09-11 02:23:11 +0800 |
commit | 6d6130e2a6d79a29d67995cbf4fa22ea4870ef69 (patch) | |
tree | d12ffa3014e28fde0004f2886f24e4b30f3310b2 | |
parent | 03168c6b91f024d928c426868facc556f3ba427c (diff) | |
download | tangerine-wallet-browser-6d6130e2a6d79a29d67995cbf4fa22ea4870ef69.tar tangerine-wallet-browser-6d6130e2a6d79a29d67995cbf4fa22ea4870ef69.tar.gz tangerine-wallet-browser-6d6130e2a6d79a29d67995cbf4fa22ea4870ef69.tar.bz2 tangerine-wallet-browser-6d6130e2a6d79a29d67995cbf4fa22ea4870ef69.tar.lz tangerine-wallet-browser-6d6130e2a6d79a29d67995cbf4fa22ea4870ef69.tar.xz tangerine-wallet-browser-6d6130e2a6d79a29d67995cbf4fa22ea4870ef69.tar.zst tangerine-wallet-browser-6d6130e2a6d79a29d67995cbf4fa22ea4870ef69.zip |
Camelcase dataset key for react
-rw-r--r-- | ui/app/components/shapeshift-form.js | 4 | ||||
-rw-r--r-- | ui/app/first-time/restore-vault.js | 6 | ||||
-rw-r--r-- | ui/app/send.js | 6 |
3 files changed, 8 insertions, 8 deletions
diff --git a/ui/app/components/shapeshift-form.js b/ui/app/components/shapeshift-form.js index 58b7942c3..77c0d12b1 100644 --- a/ui/app/components/shapeshift-form.js +++ b/ui/app/components/shapeshift-form.js @@ -69,7 +69,7 @@ ShapeshiftForm.prototype.renderMain = function () { h('input#fromCoin.buy-inputs.ex-coins', { type: 'text', list: 'coinList', - dataset: { + dataSet: { persistentFormId: 'input-coin', }, style: { @@ -165,7 +165,7 @@ ShapeshiftForm.prototype.renderMain = function () { h('input#fromCoinAddress.buy-inputs', { type: 'text', placeholder: `Your ${coin} Refund Address`, - dataset: { + dataSet: { persistentFormId: 'refund-address', }, style: { diff --git a/ui/app/first-time/restore-vault.js b/ui/app/first-time/restore-vault.js index 4c1f21008..c34cd7e66 100644 --- a/ui/app/first-time/restore-vault.js +++ b/ui/app/first-time/restore-vault.js @@ -41,7 +41,7 @@ RestoreVaultScreen.prototype.render = function () { // wallet seed entry h('h3', 'Wallet Seed'), h('textarea.twelve-word-phrase.letter-spacey', { - dataset: { + dataSet: { persistentFormId: 'wallet-seed', }, placeholder: 'Enter your secret twelve word phrase here to restore your vault.', @@ -52,7 +52,7 @@ RestoreVaultScreen.prototype.render = function () { type: 'password', id: 'password-box', placeholder: 'New Password (min 8 chars)', - dataset: { + dataSet: { persistentFormId: 'password', }, style: { @@ -67,7 +67,7 @@ RestoreVaultScreen.prototype.render = function () { id: 'password-box-confirm', placeholder: 'Confirm Password', onKeyPress: this.onMaybeCreate.bind(this), - dataset: { + dataSet: { persistentFormId: 'password-confirmation', }, style: { diff --git a/ui/app/send.js b/ui/app/send.js index 009866cf7..e660e90a8 100644 --- a/ui/app/send.js +++ b/ui/app/send.js @@ -138,7 +138,7 @@ SendTransactionScreen.prototype.render = function () { h('input.large-input', { name: 'address', placeholder: 'Recipient Address', - dataset: { + dataSet: { persistentFormId: 'recipient-address', }, }), @@ -154,7 +154,7 @@ SendTransactionScreen.prototype.render = function () { style: { marginRight: 6, }, - dataset: { + dataSet: { persistentFormId: 'tx-amount', }, }), @@ -192,7 +192,7 @@ SendTransactionScreen.prototype.render = function () { width: '100%', resize: 'none', }, - dataset: { + dataSet: { persistentFormId: 'tx-data', }, }), |