Speed up refreshing

This commit is contained in:
Matthew Grove
2019-03-06 11:49:41 +00:00
parent c74b58bf62
commit 45a34fc124
2 changed files with 2 additions and 2 deletions

View File

@@ -7,7 +7,7 @@
window.setInterval(function() { window.setInterval(function() {
document.getElementById('articles').contentWindow.location.reload(); document.getElementById('articles').contentWindow.location.reload();
document.getElementsByClass('twitter-timeline')[0].contentWindow.location.reload(); document.getElementsByClass('twitter-timeline')[0].contentWindow.location.reload();
}, 60000); }, 10000);
</script> </script>
<style> <style>

View File

@@ -13,7 +13,7 @@ layout: none
window.setInterval(function() { window.setInterval(function() {
document.getElementById('articles').contentWindow.location.reload(); document.getElementById('articles').contentWindow.location.reload();
document.getElementsByClass('twitter-timeline')[0].contentWindow.location.reload(); document.getElementsByClass('twitter-timeline')[0].contentWindow.location.reload();
}, 60000); }, 10000);
</script> </script>
<style> <style>