Focus input plus much more equality<3

v0.1.3
bomb-on 6 years ago
parent 242d721653
commit 1319c6e5fe

@ -128,6 +128,10 @@
this.$store.commit('showPassword', { this.$store.commit('showPassword', {
'message': 'Enter wallet password' 'message': 'Enter wallet password'
}); });
setTimeout(() => {
jQuery('#password').focus();
}, 50);
} }
}, },
mounted() { mounted() {

@ -144,7 +144,7 @@
return invalid(); return invalid();
} }
if((amount == 0)){ if((amount === 0)){
//this.error = 'Invalid WOW amount'; //this.error = 'Invalid WOW amount';
usd.html(''); usd.html('');
return invalid(); return invalid();

Loading…
Cancel
Save