Skip to content

Commit

Permalink
Removed undefined call of method
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp Kuhlmay authored and PKuhlmay committed Aug 2, 2024
1 parent 4f01a69 commit 0d20b76
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Classes/Template/Components/Buttons/LinkButtonWithId.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,6 @@ public function render(): string
foreach ($this->dataAttributes as $attributeName => $attributeValue) {
$attributes['data-' . $attributeName] = $attributeValue;
}
if ($this->onClick !== '') {
$attributes['onclick'] = $this->onClick;
}
if ($this->isDisabled()) {
$attributes['disabled'] = 'disabled';
$attributes['class'] .= ' disabled';
Expand Down

0 comments on commit 0d20b76

Please sign in to comment.