Skip to content

Commit 67ec70e

Browse files
committed
.disable() has been removed in Ladda v2
1 parent 93e39a1 commit 67ec70e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/LaddaButton.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,9 @@ class LaddaButton extends Component {
7979
// .stop removes the attribute "disabled"
8080
// .disable calls .stop then adds the attribute "disabled"
8181
// see https://github.com/hakimel/Ladda/blob/master/js/ladda.js
82-
this.laddaInstance.disable()
82+
83+
// Removed in ladda v2
84+
//this.laddaInstance.disable()
8385
} else {
8486
this.laddaInstance.stop()
8587
}

0 commit comments

Comments
 (0)