Files
FreshRSS/p/scripts
Inverle 0833591131 Fix JS error when navigating to last article with keyboard (#7957)
This error would print in the console if navigating to last article with <kbd>J</kbd> or <kbd>K</kbd> key:

<img width="836" height="173" alt="image" src="https://github.com/user-attachments/assets/0ae88d1c-26eb-4ebe-8d15-4bf03c24cef6" />

---

To reproduce the bug:
<ol>
<li>Select unread + read view, while having all articles marked as read</li>
<li>Mark two as unread and go to unread only view</li>
<li>Navigate with either <kbd>J</kbd> or <kbd>K</kbd> until you go past the last article or before first article</li>
<li>See error in console and no navigation with <code>first_feed()</code> or <code>last_feed()</code></li>
</ol>

note: I'm not sure if the fix is what the expected behavior is supposed to be
2025-09-13 00:15:03 +02:00
..
2022-07-17 22:54:24 +02:00
2025-08-31 19:09:02 +02:00
2022-05-15 21:52:52 +02:00