./webpack: do not hide and fade in badges
This might be more of a personal preference, but I do not see any value in hiding this content for more than a second.
This commit is contained in:
parent
4bd208f50f
commit
00a45487da
|
@ -16,15 +16,6 @@ function selectText(text) {
|
|||
}
|
||||
}
|
||||
|
||||
function initBadges() {
|
||||
let badges = $(".badges li").hide();
|
||||
if (badges.length > 0) {
|
||||
window.setTimeout(function () {
|
||||
badges.fadeIn(500);
|
||||
}, 1500);
|
||||
}
|
||||
}
|
||||
|
||||
function initDownloadButton() {
|
||||
const buttons = $(".download-btn");
|
||||
if (buttons.length <= 0) {
|
||||
|
@ -125,7 +116,6 @@ function hideThingsForWindows() {
|
|||
}
|
||||
|
||||
$(function () {
|
||||
initBadges();
|
||||
initDownloadButton();
|
||||
initInstallRow();
|
||||
initGoogleSearch();
|
||||
|
|
Loading…
Reference in New Issue