Skip to content

Commit

Permalink
fixed example
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpapst committed Jun 11, 2024
1 parent a1b5da7 commit 89cc6ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/plugins/custom-javascript-examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ document.querySelector('body.login-page #social-login-button')?.click();
Always expand extended timesheet settings:
```javascript
document.addEventListener('show.bs.modal', (e) => {
e.srcElement.querySelector('#timesheet_extended_settings a[data-bs-toggle]')?.click();
e.srcElement.querySelector('#timesheet_extended_settings button[data-bs-toggle]')?.click();
});
```
Expand Down

0 comments on commit 89cc6ce

Please sign in to comment.