diff options
| author | 2013-12-23 00:01:00 +0100 | |
|---|---|---|
| committer | 2013-12-23 00:01:00 +0100 | |
| commit | 11b1d06b8c4672f7dab98f8de5a7f7f95eeeec12 (patch) | |
| tree | ec96ddcb423771fd001c47b7822f9f6c66170767 /public/scripts | |
| parent | 2919b9a0b6c7a9e1c8b5ad7f3b6207bd86de2dbc (diff) | |
Chargement différé des iframe
Implémente https://github.com/marienfressinaud/FreshRSS/issues/313
(uniquement pour la vue en articles repliés)
Diffstat (limited to 'public/scripts')
| -rw-r--r-- | public/scripts/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/scripts/main.js b/public/scripts/main.js index 3bd23a669..ef05eb2fb 100644 --- a/public/scripts/main.js +++ b/public/scripts/main.js @@ -136,7 +136,7 @@ function mark_favorite(active) { function toggleContent(new_active, old_active) { if (does_lazyload) { - new_active.find('img[data-original]').each(function () { + new_active.find('img[data-original], iframe[data-original]').each(function () { this.setAttribute('src', this.getAttribute('data-original')); this.removeAttribute('data-original'); }); |
