From edf0189340cfb40e6d090a3029d9f53c0f1ee0a3 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Sat, 23 Oct 2021 12:33:03 +0200 Subject: [PATCH 1/5] remove commented code --- main.js | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/main.js b/main.js index 8b7f04d..0d79eb8 100644 --- a/main.js +++ b/main.js @@ -7,27 +7,6 @@ window.addEventListener('load', function() { inputs[u].blur(); } - /*var profile = document.querySelector('.profile'); - - if (profile) { - var currentTab = profile.querySelector('.menu a.item.active'); - - if (currentTab && currentTab.getAttribute('href').indexOf('tab=activity') !== -1) { - var feeds = profile.querySelector('.feeds'); - var news = profile.querySelector('.feeds > .news'); - - if (feeds && news) { - var iframe = document.createElement('iframe'); - iframe.setAttribute('class', 'gitnet-activity-iframe'); - iframe.setAttribute('src', 'https://git.deblan.org/index2.php?username=' + document.querySelector('meta[property="og:title"]').getAttribute('content')); - iframe.setAttribute('frameborder', '0'); - - feeds.insertBefore(iframe, news); - } - } - } - */ - var stylusInterval = window.setInterval(function() { var stylus = document.querySelector('style.stylus'); From d55d741fcdbafb2f1a7ff89a4e9b78378cf4bfcf Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Sat, 23 Oct 2021 12:42:02 +0200 Subject: [PATCH 2/5] remove useless code --- main.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.js b/main.js index 0d79eb8..73d3ec1 100644 --- a/main.js +++ b/main.js @@ -7,6 +7,7 @@ window.addEventListener('load', function() { inputs[u].blur(); } + /* var stylusInterval = window.setInterval(function() { var stylus = document.querySelector('style.stylus'); @@ -16,5 +17,6 @@ window.addEventListener('load', function() { window.clearInterval(stylusInterval); } }, 100); + */ } catch (e) {} }); From 579ccea03e292c9412ef5a7db1d513445c5e3260 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Sat, 23 Oct 2021 12:46:36 +0200 Subject: [PATCH 3/5] remove useless code --- main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.js b/main.js index 73d3ec1..35282bd 100644 --- a/main.js +++ b/main.js @@ -1,5 +1,6 @@ window.addEventListener('load', function() { try { + /* var inputs = document.querySelectorAll('input[type="text"], input[autofocus], input[placeholder]'); var inputsLength = inputs.length; @@ -7,7 +8,7 @@ window.addEventListener('load', function() { inputs[u].blur(); } - /* + var stylusInterval = window.setInterval(function() { var stylus = document.querySelector('style.stylus'); From ebf288ff705b8967adb0cd762a290e6ad561408d Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Sat, 23 Oct 2021 12:47:29 +0200 Subject: [PATCH 4/5] remove useless code --- main.js | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/main.js b/main.js index 35282bd..e69de29 100644 --- a/main.js +++ b/main.js @@ -1,23 +0,0 @@ -window.addEventListener('load', function() { - try { - /* - var inputs = document.querySelectorAll('input[type="text"], input[autofocus], input[placeholder]'); - var inputsLength = inputs.length; - - for (var u = 0; u < inputsLength; u++) { - inputs[u].blur(); - } - - - var stylusInterval = window.setInterval(function() { - var stylus = document.querySelector('style.stylus'); - - if (stylus && !stylus.getAttribute('data-clean')) { - stylus.innerHTML = ''; - stylus.setAttribute('data-clean', 1); - window.clearInterval(stylusInterval); - } - }, 100); - */ - } catch (e) {} -}); From 1c99507fd8e5458eb958bde8f2ff3ba80773fdd1 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Sat, 23 Oct 2021 17:50:36 +0200 Subject: [PATCH 5/5] change menu color --- theme.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/theme.css b/theme.css index b2c0df9..c9a5ff8 100644 --- a/theme.css +++ b/theme.css @@ -28,12 +28,12 @@ .full > .ui.top.menu.main #navbar > a.item.active, .full > .ui.top.menu.main #navbar > a.item:hover { color: #fff !important; - background: #505058; + background: #354055; } .full > .ui.top.menu.main a.item.active, .full > .ui.top.menu.main a.item:hover { color: #333 !important; - background: #505058; + background: #354055; } @media screen and (max-width: 767px) {