Remove weird outline from “Create Torrent” button.
The outline was caused by the wrong class being applied to the button. Closes #989.
This commit is contained in:
parent
f1aa1bdd59
commit
06cdac8121
2 changed files with 2 additions and 2 deletions
|
|
@ -106,7 +106,7 @@ class CreateTorrentPage extends React.Component {
|
|||
}}
|
||||
onClick={dispatcher('cancel')} />
|
||||
<RaisedButton
|
||||
className='control create-torrent'
|
||||
className='control create-torrent-button'
|
||||
label='Create Torrent'
|
||||
primary
|
||||
onClick={this.handleSubmit} />
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ test('create-torrent', function (t) {
|
|||
.then(() => app.client.waitUntilTextExists('.create-torrent-advanced', 'Comment'))
|
||||
.then(() => setup.screenshotCreateOrCompare(app, t, 'create-torrent-advanced'))
|
||||
// Click OK to create the torrent
|
||||
.then(() => app.client.click('.control.create-torrent'))
|
||||
.then(() => app.client.click('.control.create-torrent-button'))
|
||||
.then(() => app.client.waitUntilTextExists('.torrent-list', 'tmp.jpg'))
|
||||
.then(() => app.client.moveToObject('.torrent'))
|
||||
.then(() => setup.screenshotCreateOrCompare(app, t, 'create-torrent-100-percent'))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue