asdfasdfasdf

This commit is contained in:
Cadey Ratio 2019-08-19 17:18:47 +00:00
parent d3e5482f3f
commit 91d7214b34
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ function share_on_mastodon() {
var url = window.location.href;
// get the page title from the og:title meta tag, if it exists.
var title = document.querySelectorAll('meta[property="og:title"]')[0].getattribute("content");
var title = document.querySelectorAll('meta[property="og:title"]')[0].getAttribute("content");
// Otherwise, use the <title> tag as the title
if (!title) var title = document.getElementsByTagName("title")[0].innerHTML;