Restore old No description found message
When there is no meta tags, keep the old No Description found message
This commit is contained in:
parent
20d1e1b212
commit
76f3646249
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user