mirror of
https://github.com/opensupports/opensupports.git
synced 2025-07-31 01:35:15 +02:00
Ivan - Remove unnecessary library [skip ci]
This commit is contained in:
parent
8a89efa653
commit
1e634fe366
@ -7,7 +7,6 @@ const classNames = require('classnames');
|
|||||||
const UserActions = require('actions/user-actions');
|
const UserActions = require('actions/user-actions');
|
||||||
const UserStore = require('stores/user-store');
|
const UserStore = require('stores/user-store');
|
||||||
const focus = require('lib-core/focus');
|
const focus = require('lib-core/focus');
|
||||||
const empty = require('lib-core/empty');
|
|
||||||
|
|
||||||
const Button = require('core-components/button');
|
const Button = require('core-components/button');
|
||||||
const Form = require('core-components/form');
|
const Form = require('core-components/form');
|
||||||
@ -49,7 +48,7 @@ let MainHomePageLoginWidget = React.createClass({
|
|||||||
<Button type="primary">LOG IN</Button>
|
<Button type="primary">LOG IN</Button>
|
||||||
</div>
|
</div>
|
||||||
</Form>
|
</Form>
|
||||||
<Button className="login-widget--forgot-password" type="link" onClick={this.handleForgotPasswordClick} onMouseDown={empty.preventDefault}>
|
<Button className="login-widget--forgot-password" type="link" onClick={this.handleForgotPasswordClick} onMouseDown={(event) => {event.preventDefault()}}>
|
||||||
{'Forgot your password?'}
|
{'Forgot your password?'}
|
||||||
</Button>
|
</Button>
|
||||||
</Widget>
|
</Widget>
|
||||||
@ -67,7 +66,7 @@ let MainHomePageLoginWidget = React.createClass({
|
|||||||
<Button type="primary">Recover my password</Button>
|
<Button type="primary">Recover my password</Button>
|
||||||
</div>
|
</div>
|
||||||
</Form>
|
</Form>
|
||||||
<Button className="login-widget--forgot-password" type="link" onClick={this.handleBackToLoginClick} onMouseDown={empty.preventDefault}>
|
<Button className="login-widget--forgot-password" type="link" onClick={this.handleBackToLoginClick} onMouseDown={(event) => {event.preventDefault()}}>
|
||||||
{'Back to login form'}
|
{'Back to login form'}
|
||||||
</Button>
|
</Button>
|
||||||
</Widget>
|
</Widget>
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
export default {
|
|
||||||
preventDefault(event) {
|
|
||||||
event.preventDefault();
|
|
||||||
},
|
|
||||||
|
|
||||||
stopPropagation(event) {
|
|
||||||
event.stopPropagation();
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user