From d4a3e98fb30c154ca2cc1442e3643835550e613a Mon Sep 17 00:00:00 2001 From: opi Date: Tue, 10 Jun 2014 17:12:43 +0200 Subject: [PATCH] [fix] Wrong undefined type check. --- js/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/app.js b/js/app.js index 0dca9fd5..4806dbe7 100644 --- a/js/app.js +++ b/js/app.js @@ -817,14 +817,14 @@ app = Sammy('#main', function (sam) { } // Multilingual description - appData.manifest.arguments.install[k].label = (typeof appData.manifest.arguments.install[k].ask[y18n.locale] !== 'indefined') ? + appData.manifest.arguments.install[k].label = (typeof appData.manifest.arguments.install[k].ask[y18n.locale] !== 'undefined') ? appData.manifest.arguments.install[k].ask[y18n.locale] : appData.manifest.arguments.install[k].ask['en'] ; }); // Multilingual description - appData.description = (typeof appData.manifest.description[y18n.locale] !== 'indefined') ? + appData.description = (typeof appData.manifest.description[y18n.locale] !== 'undefined') ? appData.manifest.description[y18n.locale] : appData.manifest.description['en'] ;