Restore old No description found message

When there is no meta tags, keep the old No Description found message
This commit is contained in:
XeonCore 2014-10-12 12:53:01 +11:00
parent 20d1e1b212
commit 76f3646249
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ function parse(msg, url, res, client) {
toggle.type = "link";
toggle.head = $("title").text();
toggle.body = $('meta[name=description]').attr('content') ||
$('meta[property="og:description"]').attr('content') || "";
$('meta[property="og:description"]').attr('content') || "No description found.";
toggle.thumb = $('meta[property="og:image"]').attr('content') ||
$('meta[name="twitter:image:src"]').attr('content') || "";
break;