mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-04-13 10:57:49 -04:00
Ne pas boucler à la fin de la navigation dans les articles
Corrige https://github.com/marienfressinaud/FreshRSS/issues/407 Alternative à https://github.com/marienfressinaud/FreshRSS/pull/409 qui conserve le fait que l'article se ferme, et plus simple.
This commit is contained in:
@@ -172,12 +172,14 @@ function mark_favorite(active) {
|
||||
}
|
||||
|
||||
function toggleContent(new_active, old_active) {
|
||||
old_active.removeClass("active").removeClass("current");
|
||||
old_active.removeClass("active");
|
||||
|
||||
if (new_active.length === 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
old_active.removeClass("current");
|
||||
|
||||
if (does_lazyload) {
|
||||
new_active.find('img[data-original], iframe[data-original]').each(function () {
|
||||
this.setAttribute('src', this.getAttribute('data-original'));
|
||||
|
||||
Reference in New Issue
Block a user