Bugfix. i18n is attr, not variable.

This commit is contained in:
JC Brand 2013-08-26 15:05:08 +02:00
parent d4502d6e6f
commit 1d6f2dbe5a

View File

@ -76,7 +76,7 @@
_.extend(this, _.pick(settings, whitelist));
var __ = $.proxy(function (str) {
if (i18n === undefined) {
if (this.i18n === undefined) {
return str;
}
var t = this.i18n.translate(str);