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:
committed by
Feross Aboukhadijeh
parent
f1aa1bdd59
commit
06cdac8121
@@ -106,7 +106,7 @@ class CreateTorrentPage extends React.Component {
|
|||||||
}}
|
}}
|
||||||
onClick={dispatcher('cancel')} />
|
onClick={dispatcher('cancel')} />
|
||||||
<RaisedButton
|
<RaisedButton
|
||||||
className='control create-torrent'
|
className='control create-torrent-button'
|
||||||
label='Create Torrent'
|
label='Create Torrent'
|
||||||
primary
|
primary
|
||||||
onClick={this.handleSubmit} />
|
onClick={this.handleSubmit} />
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ test('create-torrent', function (t) {
|
|||||||
.then(() => app.client.waitUntilTextExists('.create-torrent-advanced', 'Comment'))
|
.then(() => app.client.waitUntilTextExists('.create-torrent-advanced', 'Comment'))
|
||||||
.then(() => setup.screenshotCreateOrCompare(app, t, 'create-torrent-advanced'))
|
.then(() => setup.screenshotCreateOrCompare(app, t, 'create-torrent-advanced'))
|
||||||
// Click OK to create the torrent
|
// 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.waitUntilTextExists('.torrent-list', 'tmp.jpg'))
|
||||||
.then(() => app.client.moveToObject('.torrent'))
|
.then(() => app.client.moveToObject('.torrent'))
|
||||||
.then(() => setup.screenshotCreateOrCompare(app, t, 'create-torrent-100-percent'))
|
.then(() => setup.screenshotCreateOrCompare(app, t, 'create-torrent-100-percent'))
|
||||||
|
|||||||
Reference in New Issue
Block a user