mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
Merge pull request #47 from opi/patch-1
Variable type "Undefined" is a string.
This commit is contained in:
commit
7afec6b3e6
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ $(document).ready(function () {
|
||||||
$.getJSON('/list.json', function(app_list) {
|
$.getJSON('/list.json', function(app_list) {
|
||||||
console.log(app_list);
|
console.log(app_list);
|
||||||
$.each(app_list, function(app_id, infos) {
|
$.each(app_list, function(app_id, infos) {
|
||||||
if (typeof infos.manifest.description.fr === undefined) {
|
if (typeof infos.manifest.description.fr === 'undefined') {
|
||||||
infos.manifest.description.fr = infos.manifest.description.en;
|
infos.manifest.description.fr = infos.manifest.description.en;
|
||||||
}
|
}
|
||||||
html = $('#app-template').html()
|
html = $('#app-template').html()
|
||||||
|
|
Loading…
Reference in a new issue