remove commented code
This commit is contained in:
parent
830a2b8e44
commit
edf0189340
21
main.js
21
main.js
|
@ -7,27 +7,6 @@ window.addEventListener('load', function() {
|
||||||
inputs[u].blur();
|
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 stylusInterval = window.setInterval(function() {
|
||||||
var stylus = document.querySelector('style.stylus');
|
var stylus = document.querySelector('style.stylus');
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue