Fix typo in function name

This commit is contained in:
Misode
2019-09-10 13:22:09 +02:00
parent 0e6a6eac4d
commit d10135a65c
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -65,7 +65,7 @@
</div> </div>
</div> </div>
<textarea id="copyTextarea" rows="1" class="form-control mb-3 d-none"></textarea> <textarea id="copyTextarea" rows="1" class="form-control mb-3 d-none"></textarea>
<textarea id="source" class="form-control code" onchange="updateSouce()" rows="19" spellcheck="false"></textarea> <textarea id="source" class="form-control code" onchange="updateSource()" rows="19" spellcheck="false"></textarea>
</div> </div>
</div> </div>
</div> </div>
+2 -2
View File
@@ -16,7 +16,7 @@ addEntry($('#structure .pool').get());
const params = new URLSearchParams(window.location.search); const params = new URLSearchParams(window.location.search);
if (params.has('q')) { if (params.has('q')) {
$('#source').val(atob(params.get('q'))); $('#source').val(atob(params.get('q')));
updateSouce(); updateSource();
} }
function updateTableType() { function updateTableType() {
@@ -51,7 +51,7 @@ function linkSource() {
}, 2000); }, 2000);
} }
function updateSouce() { function updateSource() {
$('#source').removeClass('invalid'); $('#source').removeClass('invalid');
try { try {
table = JSON.parse($('#source').val()); table = JSON.parse($('#source').val());