sort persons

This commit is contained in:
asandikci 2024-01-09 22:42:39 +03:00
parent 412bcc1035
commit 59f2c716dd
No known key found for this signature in database
GPG key ID: 25C67A03B5666BC1

View file

@ -436,9 +436,9 @@
} }
const persons2 = <?php echo json_encode(getAllPersonNames(), JSON_UNESCAPED_UNICODE) ?>; const persons2 = <?php echo json_encode(getAllPersonNames(), JSON_UNESCAPED_UNICODE) ?>;
person2.sort();
autocomplete(document.getElementById("mainInput"), persons2); autocomplete(document.getElementById("mainInput"), persons2);
</script> </script>
<script src="https://cdn.jsdelivr.net/npm/@tsparticles/confetti@3.0.3/tsparticles.confetti.bundle.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/@tsparticles/confetti@3.0.3/tsparticles.confetti.bundle.min.js"></script>
</html> </html>