From d2dec49dccfbd92244403963c681737ccb83151e Mon Sep 17 00:00:00 2001 From: cyber-dream Date: Sun, 31 Jul 2022 19:28:39 +0300 Subject: [PATCH] Add iframe to news container --- app/assets/js/scripts/landing.js | 4 ++-- app/landing.ejs | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app/assets/js/scripts/landing.js b/app/assets/js/scripts/landing.js index 3407fbc..b5d8509 100644 --- a/app/assets/js/scripts/landing.js +++ b/app/assets/js/scripts/landing.js @@ -835,7 +835,7 @@ function slide_(up){ // Bind news button. document.getElementById('newsButton').onclick = () => { // Toggle tabbing. - if(newsActive){ + /*if(newsActive){ $('#landingContainer *').removeAttr('tabindex') $('#newsContainer *').attr('tabindex', '-1') } else { @@ -847,7 +847,7 @@ document.getElementById('newsButton').onclick = () => { ConfigManager.setNewsCacheDismissed(true) ConfigManager.save() } - } + }*/ slide_(!newsActive) newsActive = !newsActive } diff --git a/app/landing.ejs b/app/landing.ejs index af9eea5..114acfd 100644 --- a/app/landing.ejs +++ b/app/landing.ejs @@ -103,7 +103,6 @@
- +
- - --> \ No newline at end of file