From: Andrew Dolgov Date: Mon, 13 Sep 2010 04:40:37 +0000 (+0400) Subject: support zoom for blank excerpts X-Git-Tag: 1.5.0~435^2~1^2~18 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=ed6c208dda7a1ff2825a34786d795419f1536dac;p=tt-rss.git support zoom for blank excerpts --- diff --git a/digest.js b/digest.js index 8f0142ab..9828dc7c 100644 --- a/digest.js +++ b/digest.js @@ -369,6 +369,9 @@ function add_headline_entry(article, feed, no_effects) { if (!no_effects) style = "style=\"display : none\""; + if (article.excerpt.trim() == "") + article.excerpt = __("Click to expand article."); + var tmp_html = "
  • " + icon_part +