From 91d7214b341088edba7a37a83a753e75ed02d7ad Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Mon, 19 Aug 2019 17:18:47 +0000 Subject: [PATCH] asdfasdfasdf --- templates/blogpost.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/blogpost.html b/templates/blogpost.html index 7782f55..61a4b38 100644 --- a/templates/blogpost.html +++ b/templates/blogpost.html @@ -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 tag as the title if (!title) var title = document.getElementsByTagName("title")[0].innerHTML;