Skip to content

Commit

Permalink
chore: remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mrholek authored Jan 5, 2025
1 parent e225c43 commit 1afb923
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions js/src/loading-button.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,6 @@ class LoadingButton extends BaseComponent {
*/

EventHandler.on(document, EVENT_CLICK_DATA_API, SELECTOR_DATA_TOGGLE, event => {
// commented because otherwise this won't trigger submit: <button type="submit" data-coreui-toggle="loading-button">Save</button>
//event.preventDefault()
const button = event.target.closest(SELECTOR_DATA_TOGGLE)
const data = LoadingButton.getOrCreateInstance(button)

Expand Down

0 comments on commit 1afb923

Please sign in to comment.