Skip to content

Commit

Permalink
change formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
sissbruecker committed Aug 9, 2024
1 parent e6ac50b commit 554b001
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ public class Button extends Component
private PendingJavaScriptResult initDisableOnClick;

// Register immediately as first listener
private final Registration disableListener = addClickListener(
buttonClickEvent -> {
private final Registration disableListener = addClickListener(buttonClickEvent -> {
if (disableOnClick) {
setEnabled(false);
}
Expand Down

0 comments on commit 554b001

Please sign in to comment.