From d10135a65cf3e078c74c89e61cce61683d4e9bb4 Mon Sep 17 00:00:00 2001 From: Misode Date: Tue, 10 Sep 2019 13:22:09 +0200 Subject: [PATCH] Fix typo in function name --- index.html | 2 +- model.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index e59048cd..9e37384b 100644 --- a/index.html +++ b/index.html @@ -65,7 +65,7 @@ - + diff --git a/model.js b/model.js index fba0d411..f7610342 100644 --- a/model.js +++ b/model.js @@ -16,7 +16,7 @@ addEntry($('#structure .pool').get()); const params = new URLSearchParams(window.location.search); if (params.has('q')) { $('#source').val(atob(params.get('q'))); - updateSouce(); + updateSource(); } function updateTableType() { @@ -51,7 +51,7 @@ function linkSource() { }, 2000); } -function updateSouce() { +function updateSource() { $('#source').removeClass('invalid'); try { table = JSON.parse($('#source').val());