diff --git a/web/static/js/language.js b/web/static/js/language.js index 5659e0e..2aab40b 100644 --- a/web/static/js/language.js +++ b/web/static/js/language.js @@ -133,7 +133,7 @@ var postsubmit; function langreply(langstr) { var langobj = languages['content']['reply'][langstr.replace(/[\s,\.\?]*/g,"").toLowerCase()]; - if ($.type(langobj) == 'undefined') return langobj + if ($.type(langobj) == 'undefined') return langstr langobj = (langobj[languages['current']] || langobj[languages['default']] || langstr); return langobj }