This commit is contained in:
afc163 2016-04-18 17:02:05 +08:00
parent 8a52195f39
commit 63e110fbc6

View File

@ -25,7 +25,7 @@ function insertSpace(child) {
} }
function clearButton(button) { function clearButton(button) {
button.className = button.className.replace(`${prefix}clicked`, ''); button.className = button.className.replace(` ${prefix}clicked`, '');
} }
export default class Button extends React.Component { export default class Button extends React.Component {