From 561b0b54c964a1e989cac21c11e8e98e94e66211 Mon Sep 17 00:00:00 2001 From: opi Date: Tue, 24 Jun 2014 11:34:24 +0200 Subject: [PATCH] [fix] Wrong variable type 'indefined' --- js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/app.js b/js/app.js index 2b51d930..0d8b8efe 100644 --- a/js/app.js +++ b/js/app.js @@ -772,7 +772,7 @@ app = Sammy('#main', function (sam) { data.settings.allowed_users = (data.settings.allowed_users) ? data.settings.allowed_users.replace(',', ', ') : ''; // Multilingual description - data.description = (typeof data.manifest.description[y18n.locale] !== 'indefined') ? + data.description = (typeof data.manifest.description[y18n.locale] !== 'undefined') ? data.manifest.description[y18n.locale] : data.manifest.description['en'] ;