Browse Source

reverted passphrase visibility icon

all-modes
pbca26 8 years ago
parent
commit
c9d466661f
  1. 2
      react/src/components/dashboard/settings/settings.render.js
  2. 2
      react/src/components/login/login.render.js

2
react/src/components/dashboard/settings/settings.render.js

@ -310,7 +310,7 @@ export const SettingsRender = function() {
id="wifkeysPassphrase"
onChange={ this.updateInput } />
<i
className={ this.state.seedInputVisibility ? 'seed-toggle fa fa-eye-slash' : 'seed-toggle fa fa-eye' }
className={ !this.state.seedInputVisibility ? 'seed-toggle fa fa-eye-slash' : 'seed-toggle fa fa-eye' }
onClick={ this.toggleSeedInputVisibility }></i>
<label
className="floating-label"

2
react/src/components/login/login.render.js

@ -64,7 +64,7 @@ const LoginRender = function () {
onChange={ this.updateInput }
onKeyDown={ (event) => this.handleKeydown(event) }/>
<i
className={ this.state.seedInputVisibility ? 'seed-toggle fa fa-eye-slash' : 'seed-toggle fa fa-eye' }
className={ !this.state.seedInputVisibility ? 'seed-toggle fa fa-eye-slash' : 'seed-toggle fa fa-eye' }
onClick={ this.toggleSeedInputVisibility }></i>
<label
className="floating-label"

Loading…
Cancel
Save