From 1cc8d5ce0c8a4e7bb12c4514dbd4ff5389ea8ca4 Mon Sep 17 00:00:00 2001 From: Matthew Grove Date: Wed, 6 Mar 2019 13:12:08 +0000 Subject: [PATCH] Fix typo --- _site/auto-refresh.html | 2 +- auto-refresh.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_site/auto-refresh.html b/_site/auto-refresh.html index a5c6ebe..8c8e8d3 100644 --- a/_site/auto-refresh.html +++ b/_site/auto-refresh.html @@ -7,7 +7,7 @@ document.getElementById('articles-1').style.zIndex = "2"; document.getElementById('articles-2').style.zIndex = "1"; document.getElementById('articles-2').contentWindow.location.reload(true); - document.getElementsByClass('twitter-timeline')[0].contentWindow.location.reload(true); + document.getElementsByClassName('twitter-timeline')[0].contentWindow.location.reload(true); setTimeout(function() { document.getElementById('articles-2').style.zIndex = "2"; document.getElementById('articles-1').style.zIndex = "1"; diff --git a/auto-refresh.md b/auto-refresh.md index 10ce193..ea87084 100644 --- a/auto-refresh.md +++ b/auto-refresh.md @@ -13,7 +13,7 @@ layout: none document.getElementById('articles-1').style.zIndex = "2"; document.getElementById('articles-2').style.zIndex = "1"; document.getElementById('articles-2').contentWindow.location.reload(true); - document.getElementsByClass('twitter-timeline')[0].contentWindow.location.reload(true); + document.getElementsByClassName('twitter-timeline')[0].contentWindow.location.reload(true); setTimeout(function() { document.getElementById('articles-2').style.zIndex = "2"; document.getElementById('articles-1').style.zIndex = "1";