Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Fix disabled styling
Browse files Browse the repository at this point in the history
Fix #3307

Auditors: @aekeus
  • Loading branch information
bbondy committed Aug 23, 2016
1 parent 5c87dc1 commit a3c33b4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion js/components/addEditBookmark.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ class AddEditBookmark extends ImmutableComponent {
? <a data-l10n-id='delete' className='removeBookmarkLink link' onClick={this.onRemoveBookmark} />
: null
}
<Button l10nId='save' className={this.bookmarkNameValid ? 'primaryButton' : 'primaryButton disabled'} onClick={this.onSave} />
<Button l10nId='save' disabled={!this.bookmarkNameValid} className='primaryButton' onClick={this.onSave} />
</div>
</div>
</div>
Expand Down
4 changes: 0 additions & 4 deletions less/addEditBookmark.less
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,3 @@
.removeBookmarkLink {
margin-right: auto;
}

.disabled {
background-color: #ccc !important;
}

1 comment on commit a3c33b4

@aekeus
Copy link
Member

@aekeus aekeus commented on a3c33b4 Aug 23, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

++

Please sign in to comment.