Skip to content

Commit

Permalink
Merge pull request #8 from Jiaocz/making-footer-union
Browse files Browse the repository at this point in the history
Removed useless code
  • Loading branch information
Jiaocz authored Aug 24, 2021
2 parents 8c8a319 + 94103c5 commit 4a54d0d
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion donate.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ <h1>Untitled</h1>
if ('addEventListener' in window) {
window.addEventListener('load', function() {
document.body.className = document.body.className.replace(/\bis-preload\b/, '');
document.querySelector("iframe[name='GitHubStar']").src = "https://ghbtns.com/github-btn.html?user=Jiaocz&repo=Personal-page&type=star&count=false";
});
document.body.className += (navigator.userAgent.match(/(MSIE|rv:11\.0)/) ? ' is-ie' : '');
}
Expand Down
1 change: 0 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ <h1 key="title">{{ title }}</h1>
if ('addEventListener' in window) {
window.addEventListener('load', function() {
document.body.className = document.body.className.replace(/\bis-preload\b/, '');
document.querySelector("iframe[name='GitHubStar']").src = "https://ghbtns.com/github-btn.html?user=Jiaocz&repo=Personal-page&type=star&count=false";
});
document.body.className += (navigator.userAgent.match(/(MSIE|rv:11\.0)/) ? ' is-ie' : '');
}
Expand Down
1 change: 0 additions & 1 deletion pay.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ <h1>向 Someone 付款</h1>
if ('addEventListener' in window) {
window.addEventListener('load', function() {
document.body.className = document.body.className.replace(/\bis-preload\b/, '');
document.querySelector("iframe[name='GitHubStar']").src = "https://ghbtns.com/github-btn.html?user=Jiaocz&repo=Personal-page&type=star&count=false";
});
document.body.className += (navigator.userAgent.match(/(MSIE|rv:11\.0)/) ? ' is-ie' : '');
}
Expand Down
1 change: 0 additions & 1 deletion portfolio/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ <h1>加载中……</h1>
window.addEventListener('load', function() {
document.body.className = document.body.className.replace(/\bis-preload\b/, '');
$.getScript("LoadContent.js");
document.querySelector("iframe[name='GitHubStar']").src = "https://ghbtns.com/github-btn.html?user=Jiaocz&repo=Personal-page&type=star&count=false";
});
document.body.className += (navigator.userAgent.match(/(MSIE|rv:11\.0)/) ? ' is-ie' : '');
}
Expand Down
1 change: 0 additions & 1 deletion qr.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ <h1>站内二维码生成</h1>
if ('addEventListener' in window) {
window.addEventListener('load', function() {
document.body.className = document.body.className.replace(/\bis-preload\b/, '');
document.querySelector("iframe[name='GitHubStar']").src = "https://ghbtns.com/github-btn.html?user=Jiaocz&repo=Personal-page&type=star&count=false";
});
document.body.className += (navigator.userAgent.match(/(MSIE|rv:11\.0)/) ? ' is-ie' : '');
}
Expand Down

0 comments on commit 4a54d0d

Please sign in to comment.