diff --git a/src/jquery.i18n.js b/src/jquery.i18n.js index ef2fcc2..9a38c12 100644 --- a/src/jquery.i18n.js +++ b/src/jquery.i18n.js @@ -227,7 +227,7 @@ return this.each( function () { var $this = $( this ), - messageKey = $this.data( 'i18n' ), + messageKey = String( $this.data( 'i18n' ) ), lBracket, rBracket, type, key; if ( messageKey ) {