1
0
mirror of https://github.com/ascribe/onion.git synced 2025-01-03 10:25:08 +01:00

Remove unnecessary button class

This commit is contained in:
Brett Sun 2015-12-16 12:45:21 +01:00
parent 764b9dbf12
commit 94e20d2ba8

View File

@ -52,7 +52,7 @@ let AccordionListItemEditionWidget = React.createClass({
toggleTable() { toggleTable() {
let pieceId = this.props.piece.id; let pieceId = this.props.piece.id;
let isEditionListOpen = this.state.isEditionListOpenForPieceId[pieceId] ? this.state.isEditionListOpenForPieceId[pieceId].show : false; let isEditionListOpen = this.state.isEditionListOpenForPieceId[pieceId] ? this.state.isEditionListOpenForPieceId[pieceId].show : false;
if(isEditionListOpen) { if(isEditionListOpen) {
EditionListActions.toggleEditionList(pieceId); EditionListActions.toggleEditionList(pieceId);
} else { } else {
@ -68,7 +68,7 @@ let AccordionListItemEditionWidget = React.createClass({
getGlyphicon() { getGlyphicon() {
let pieceId = this.props.piece.id; let pieceId = this.props.piece.id;
let isEditionListOpen = this.state.isEditionListOpenForPieceId[pieceId] ? this.state.isEditionListOpenForPieceId[pieceId].show : false; let isEditionListOpen = this.state.isEditionListOpenForPieceId[pieceId] ? this.state.isEditionListOpenForPieceId[pieceId].show : false;
if(isEditionListOpen) { if(isEditionListOpen) {
// this is the loading feedback for the editions // this is the loading feedback for the editions
// button. // button.
@ -118,7 +118,7 @@ let AccordionListItemEditionWidget = React.createClass({
<button <button
disabled disabled
title={getLangText('All editions for this have been deleted already.')} title={getLangText('All editions for this have been deleted already.')}
className={classNames('btn', 'btn-default', 'btn-secondary', 'btn-sm', 'ascribe-accordion-list-item-edition-widget', this.props.className)}> className={classNames('btn', 'btn-secondary', 'btn-sm', 'ascribe-accordion-list-item-edition-widget', this.props.className)}>
{'0 ' + getLangText('Editions')} {'0 ' + getLangText('Editions')}
</button> </button>
); );