Update jquery.i18n.js

This commit is contained in:
brindosch 2016-12-09 17:41:02 +01:00 committed by GitHub
parent 33f5530a1c
commit 9f6edc0296

View File

@ -139,7 +139,7 @@
load: function ( source, locale ) { load: function ( source, locale ) {
var fallbackLocales, locIndex, fallbackLocale, sourceMap = {}; var fallbackLocales, locIndex, fallbackLocale, sourceMap = {};
if ( !source && !locale ) { if ( !source && !locale ) {
source = 'i18n/' + $.i18n().locale + '.json'; source = 'i18n';
locale = $.i18n().locale; locale = $.i18n().locale;
} }
if ( typeof source === 'string' && if ( typeof source === 'string' &&