From 53fcdaaa61b778b3d6a3b799d6bc582fa32486c7 Mon Sep 17 00:00:00 2001 From: Wim Brand Date: Fri, 3 Sep 2021 17:41:32 +0200 Subject: [PATCH] Fix some typing errors --- res/include/script/file_viewer/IntroPopup.js | 2 +- res/include/script/file_viewer/Viewer.js | 2 +- res/template/home.html | 7 +++++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/res/include/script/file_viewer/IntroPopup.js b/res/include/script/file_viewer/IntroPopup.js index 9af4317..2707157 100644 --- a/res/include/script/file_viewer/IntroPopup.js +++ b/res/include/script/file_viewer/IntroPopup.js @@ -17,7 +17,7 @@ function IntroPopup() { // Sometimes the layout is not correctly calculated yet when this script // runs. We adjust the values later - setTimeout(() => { this.moveToElement(btnHome) }, 100) + setTimeout(() => { this.moveToElement(btnHome) }, 400) } IntroPopup.prototype.moveToElement = function (el) { diff --git a/res/include/script/file_viewer/Viewer.js b/res/include/script/file_viewer/Viewer.js index f650e63..46da26a 100644 --- a/res/include/script/file_viewer/Viewer.js +++ b/res/include/script/file_viewer/Viewer.js @@ -202,7 +202,7 @@ Viewer.prototype.renderSponsors = function () { // Because of the scale transformation the automatic margins don't work // anymore. So we have to manually calculate the margin. Here we take the // width of the viewport - the width of the ad to calculate the amount of - // pixels around the ad. We multiply the ad size by the scale we calcualted + // pixels around the ad. We multiply the ad size by the scale we calculated // to account for the smaller size. let offset = (window.innerWidth - (bannerWidth * scale)) / 2 diff --git a/res/template/home.html b/res/template/home.html index c909fa3..63a496a 100644 --- a/res/template/home.html +++ b/res/template/home.html @@ -181,7 +181,10 @@ direct downloads per 30 days. Never have to enter a CAPTCHA while logged in
- +
@@ -390,7 +393,7 @@

The bandwidth cap on your account is a 30 day rolling window. - This means that bandwdith usage will expire 30 days after it was + This means that bandwidth usage will expire 30 days after it was used. Your counter will not reset at the start of the next month.