Add missing event argument to onClick() function call
This commit is contained in:
parent
6e402f60dc
commit
33e9b26fe9
1 changed files with 1 additions and 1 deletions
2
ui/static/js/bootstrap.js
vendored
2
ui/static/js/bootstrap.js
vendored
|
@ -44,7 +44,7 @@ document.addEventListener("DOMContentLoaded", function () {
|
|||
onClick("a[data-toggle-bookmark]", (event) => handleBookmark(event.target));
|
||||
onClick("a[data-fetch-content-entry]", () => handleFetchOriginalContent());
|
||||
onClick("a[data-action=search]", (event) => setFocusToSearchInput(event));
|
||||
onClick("a[data-action=markPageAsRead]", () => handleConfirmationMessage(event.target, () => markPageAsRead()));
|
||||
onClick("a[data-action=markPageAsRead]", (event) => handleConfirmationMessage(event.target, () => markPageAsRead()));
|
||||
onClick("a[data-toggle-status]", (event) => handleEntryStatus(event.target));
|
||||
|
||||
onClick("a[data-confirm]", (event) => handleConfirmationMessage(event.target, (url, redirectURL) => {
|
||||
|
|
Loading…
Reference in a new issue