We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93e39a1 commit efb59b6Copy full SHA for efb59b6
1 file changed
src/LaddaButton.jsx
@@ -75,11 +75,6 @@ class LaddaButton extends Component {
75
if (props.loading !== this.props.loading) {
76
if (props.loading) {
77
this.laddaInstance.start()
78
- } else if (props.disabled) {
79
- // .stop removes the attribute "disabled"
80
- // .disable calls .stop then adds the attribute "disabled"
81
- // see https://github.com/hakimel/Ladda/blob/master/js/ladda.js
82
- this.laddaInstance.disable()
83
} else {
84
this.laddaInstance.stop()
85
}
0 commit comments