2
0
Fork 0
This commit is contained in:
Alex Kotov 2023-03-25 21:38:21 +04:00
parent 9ea3837418
commit 2e5c84868c
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
1 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ window.leqsikoni = {
},
words_xxxxx: function(word_id) {
window.leqsikoni.words_xxxxx_template()
$('#app').html(window.leqsikoni.words_xxxxx_template())
$.getJSON(
'http://localhost:4567/words/' + word_id,
@ -32,7 +32,7 @@ window.leqsikoni = {
},
words_xxxxx_template: function(options) {
if (options === null || typeof(options) !== 'object') {
if (!options || typeof(options) !== 'object') {
options = {}
}