Skip to content

Commit

Permalink
Merge pull request #18 from matthewlawson/master
Browse files Browse the repository at this point in the history
Set messagesUrl before Language on ready
  • Loading branch information
ebidel committed Aug 24, 2015
2 parents 8111828 + 4707133 commit 7009895
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion i18n-msg.html
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@
},

ready: function() {
this._setLanguage(I18nMsg.lang);
this.messagesUrl = I18nMsg.url;
this._setLanguage(I18nMsg.lang);

// Have instances observe window.I18nMsg.lang changes
// and go fetch the localized messages.json file.
Expand Down

0 comments on commit 7009895

Please sign in to comment.