remove commented code

This commit is contained in:
Simon Vieille 2021-10-23 12:33:03 +02:00
parent 830a2b8e44
commit edf0189340

21
main.js
View file

@ -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');