mirror of
https://github.com/mgrove36/bbc-young-reporter.git
synced 2026-03-03 11:27:06 +00:00
Speed up refreshing
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user