en_US will no longer throw js error from missing timeago file

v1.18.x
Julian Lam 11 years ago
parent 125b18f704
commit be19222817

@ -22,7 +22,7 @@
translator.prepareDOM = function() {
// Load the appropriate timeago locale file
if (config.defaultLang !== 'en_GB') {
if (config.defaultLang !== 'en_GB' && config.defaultLang !== 'en_US') {
// Correct NodeBB language codes to timeago codes, if necessary
var languageCode;
switch(config.defaultLang) {

Loading…
Cancel
Save