From 63c36534789782003bc18b662dd808855321bf25 Mon Sep 17 00:00:00 2001 From: fankesyooni Date: Sun, 5 Feb 2023 22:23:05 +0800 Subject: [PATCH] Fix some typos in code --- docs/index.html | 4 ++-- docs/resources/js/markdown-contents.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/index.html b/docs/index.html index 70bc1bd..c4a12ad 100644 --- a/docs/index.html +++ b/docs/index.html @@ -195,10 +195,10 @@ function injectJsFiles(callback, ...names) { let loadedCount = 0; - let radomTime = new Date().getTime(); + let randomTime = new Date().getTime(); for (let i = 0; i < names.length; i++) { let script = document.createElement('script'); - script.src = 'resources/js/' + names[i] + '?randomId=' + radomTime; + script.src = 'resources/js/' + names[i] + '?randomId=' + randomTime; script.onload = () => { loadedCount++; if (loadedCount >= names.length) setTimeout(() => { callback(); }, 150); diff --git a/docs/resources/js/markdown-contents.js b/docs/resources/js/markdown-contents.js index a33a1a8..2a2b952 100644 --- a/docs/resources/js/markdown-contents.js +++ b/docs/resources/js/markdown-contents.js @@ -26,6 +26,6 @@ const markdownContents = { 'MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n' + 'GNU Affero General Public License for more details.\n\n' + 'You should have received a copy of the GNU Affero General Public License\n' + - 'along with this program. If not, see <http://www.gnu.org/licenses/>.\n' + + 'along with this program. If not, see .\n' + '```' }; \ No newline at end of file