aboutsummaryrefslogtreecommitdiff
path: root/ui/static/js/bootstrap.js
diff options
context:
space:
mode:
authorGravatar xl <seow@xulaing.dev> 2023-03-17 21:56:17 +0800
committerGravatar Frédéric Guillot <f@miniflux.net> 2023-06-29 21:03:05 -0700
commit356d32c6fe2b17e8ecae19047b455d8998d9760d (patch)
treee298f3b726e894ce74ac38a0ea55a04e79af0be0 /ui/static/js/bootstrap.js
parent6046a74a64d4e86c488f32006b55b4cbc90f4186 (diff)
downloadv2-356d32c6fe2b17e8ecae19047b455d8998d9760d.tar.gz
v2-356d32c6fe2b17e8ecae19047b455d8998d9760d.tar.zst
v2-356d32c6fe2b17e8ecae19047b455d8998d9760d.zip
Add user setting for marking entry as read on view
Diffstat (limited to 'ui/static/js/bootstrap.js')
-rw-r--r--ui/static/js/bootstrap.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/static/js/bootstrap.js b/ui/static/js/bootstrap.js
index 5ff97734..be68225b 100644
--- a/ui/static/js/bootstrap.js
+++ b/ui/static/js/bootstrap.js
@@ -69,10 +69,10 @@ document.addEventListener("DOMContentLoaded", function () {
request.execute();
}));
- onClick("a[data-original-link]", (event) => {
+ onClick("a[data-original-link='true']", (event) => {
handleEntryStatus("next", event.target, true);
}, true);
- onAuxClick("a[data-original-link]", (event) => {
+ onAuxClick("a[data-original-link='true']", (event) => {
if (event.button == 1) {
handleEntryStatus("next", event.target, true);
}