Merge pull request #769 from Bilb/fix-registration-pubkey-scramble

fix text scramble animation on registration
pull/763/head
Vince 5 years ago committed by GitHub
commit c95c83ab6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -120,7 +120,7 @@
window.Session = window.Session || {};
window.Session.setNewSessionID = sessionID => {
const el = document.querySelector('.session-id-editable');
const el = document.querySelector('.session-id-editable-textarea');
const fx = new TextScramble(el);
el.value = sessionID;
fx.setText(sessionID);

@ -30,6 +30,7 @@ export class SessionIdEditable extends React.PureComponent<Props> {
return (
<div className="session-id-editable">
<textarea
className="session-id-editable-textarea"
ref={this.inputRef}
placeholder={placeholder}
disabled={!editable}

Loading…
Cancel
Save