]> git.wh0rd.org - tt-rss.git/commitdiff
support zoom for blank excerpts
authorAndrew Dolgov <fox@bah.org.ru>
Mon, 13 Sep 2010 04:40:37 +0000 (08:40 +0400)
committerAndrew Dolgov <fox@bah.org.ru>
Mon, 13 Sep 2010 04:40:37 +0000 (08:40 +0400)
digest.js

index 8f0142ab6c1a5b5e30adea08cc81d5028adad3e3..9828dc7c241107866493ae30507a3ecf1d4838d4 100644 (file)
--- 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 = "<li id=\"A-"+article.id+"\" "+style+">" + 
                        icon_part +