diff options
Diffstat (limited to 'js')
-rw-r--r-- | js/Article.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/js/Article.js b/js/Article.js index d039882ec..5f695561c 100644 --- a/js/Article.js +++ b/js/Article.js @@ -150,12 +150,8 @@ const Article = { ).join("")}</span>`; }, renderEnclosures: function (enclosures) { - - // enclosure list was handled by backend (HOOK_FORMAT_ENCLOSURES) - if (enclosures.formatted) - return enclosures.formatted; - return ` + ${enclosures.formatted} ${enclosures.can_inline ? `<div class='attachments-inline'> ${enclosures.entries.map((enc) => { |