1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-10 19:29:56 +00:00

[eslint] updated eslintrc and improved the code (#4702)

This commit is contained in:
llj
2020-11-02 13:56:35 +08:00
committed by GitHub
parent ed3e5fc416
commit 04f29704b3
337 changed files with 1586 additions and 1585 deletions

View File

@@ -33,7 +33,7 @@ class LibDecryptDialog extends React.Component {
});
e.preventDefault();
}
}
handleKeyPress = (e) => {
if (e.key == 'Enter') {
@@ -56,7 +56,7 @@ class LibDecryptDialog extends React.Component {
return (
<Modal isOpen={true}>
<ModalBody>
<button type="button" className="close" onClick={this.toggle}><span aria-hidden="true">×</span></button>
<button type="button" className="close" onClick={this.toggle}><span aria-hidden="true">×</span></button>
<Form className="lib-decrypt-form text-center">
<img src={`${mediaUrl}img/lock.png`} alt="" aria-hidden="true" />
<p className="intro">{gettext('This library is password protected')}</p>