mirror of
https://github.com/mgrove36/bbc-young-reporter.git
synced 2026-03-03 03:17:07 +00:00
Fix typo & remove redundant code
This commit is contained in:
@@ -1,11 +1,11 @@
|
|||||||
<script src="/js/jquery.min.js"></script>
|
<script src="/js/jquery.min.js"></script>
|
||||||
|
|
||||||
<iframe id="articles" src="/"></iframe>
|
<iframe id="articles" src="/"></iframe>
|
||||||
<p><a class="twitter-timeline" id="tweets" data-dnt="true" href="https://twitter.com/BBCYoungReport?ref_src=twsrc%5Etfw">Tweets by BBCYoungReport</a> <script async="" src="https://platform.twitter.com/widgets.js" charset="utf-8"></script></p>
|
<p><a class="twitter-timeline" data-dnt="true" href="https://twitter.com/BBCYoungReport?ref_src=twsrc%5Etfw">Tweets by BBCYoungReport</a> <script async="" src="https://platform.twitter.com/widgets.js" charset="utf-8"></script></p>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
window.setInterval(function() {
|
window.setInterval(function() {
|
||||||
document.getElementById('iframe').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);
|
}, 60000);
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -7,11 +7,11 @@ layout: none
|
|||||||
<script src="/js/jquery.min.js"></script>
|
<script src="/js/jquery.min.js"></script>
|
||||||
|
|
||||||
<iframe id="articles" src="/"></iframe>
|
<iframe id="articles" src="/"></iframe>
|
||||||
<a class="twitter-timeline" id="tweets" data-dnt="true" href="https://twitter.com/BBCYoungReport?ref_src=twsrc%5Etfw">Tweets by BBCYoungReport</a> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
|
<a class="twitter-timeline" data-dnt="true" href="https://twitter.com/BBCYoungReport?ref_src=twsrc%5Etfw">Tweets by BBCYoungReport</a> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
window.setInterval(function() {
|
window.setInterval(function() {
|
||||||
document.getElementById('iframe').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);
|
}, 60000);
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user