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:
Benjamin Tan
2016-10-02 17:09:12 +08:00
committed by Feross Aboukhadijeh
parent f1aa1bdd59
commit 06cdac8121
2 changed files with 2 additions and 2 deletions

View File

@@ -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} />

View File

@@ -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'))