This commit is contained in:
Augusto Gunsch 2022-01-09 15:53:19 -03:00
parent 8925fb87a9
commit c2cb1f861d
No known key found for this signature in database
GPG Key ID: F7EEFE29825C72DC
1 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ $(document).ready(() => {
appendTo: '#search-form',
source: (request, response) => {
$.ajax({
url: '/langs/polish/words?like=' + request.term + '&limit=20&offset=0',
url: '/langs/pl/words?like=' + request.term + '&limit=20&offset=0',
success: data => response(data)
})
},
@ -44,7 +44,7 @@ $(document).ready(() => {
let word = window.location.hash.replace('#', '');
$.ajax({
url: '/langs/polish/words/' + word,
url: '/langs/pl/words/' + word,
success: (data) => {
$('#ajax-content').html(generateHtml(word, data))