mirror of
https://github.com/mgrove36/bbc-young-reporter.git
synced 2026-03-03 11:27:06 +00:00
Remove unnecessary code
This commit is contained in:
@@ -7,7 +7,6 @@
|
|||||||
document.getElementById('articles-1').style.zIndex = "2";
|
document.getElementById('articles-1').style.zIndex = "2";
|
||||||
document.getElementById('articles-2').style.zIndex = "1";
|
document.getElementById('articles-2').style.zIndex = "1";
|
||||||
document.getElementById('articles-2').contentWindow.location.reload(true);
|
document.getElementById('articles-2').contentWindow.location.reload(true);
|
||||||
document.getElementsByClassName('twitter-timeline')[0].contentWindow.location.reload(true);
|
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
document.getElementById('articles-2').style.zIndex = "2";
|
document.getElementById('articles-2').style.zIndex = "2";
|
||||||
document.getElementById('articles-1').style.zIndex = "1";
|
document.getElementById('articles-1').style.zIndex = "1";
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ layout: none
|
|||||||
document.getElementById('articles-1').style.zIndex = "2";
|
document.getElementById('articles-1').style.zIndex = "2";
|
||||||
document.getElementById('articles-2').style.zIndex = "1";
|
document.getElementById('articles-2').style.zIndex = "1";
|
||||||
document.getElementById('articles-2').contentWindow.location.reload(true);
|
document.getElementById('articles-2').contentWindow.location.reload(true);
|
||||||
document.getElementsByClassName('twitter-timeline')[0].contentWindow.location.reload(true);
|
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
document.getElementById('articles-2').style.zIndex = "2";
|
document.getElementById('articles-2').style.zIndex = "2";
|
||||||
document.getElementById('articles-1').style.zIndex = "1";
|
document.getElementById('articles-1').style.zIndex = "1";
|
||||||
|
|||||||
Reference in New Issue
Block a user