mirror of
https://github.com/thelounge/thelounge
synced 2024-11-11 07:04:18 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue