Skip to content

Commit

Permalink
FIX: I18n Uncaught ReferenceError Error
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-she committed Jan 3, 2017
1 parent 5d996d7 commit fa1c999
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/assets/javascripts/tao/application.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class TaoApplication extends TaoModule
$(@).removeClass 'disabled'

_initI18n: ->
I18n.locale = @locale if I18n && @locale
I18n.locale = @locale if window.I18n && @locale

_initIcons: ($page) ->
$icons = $page.siblings('#tao-icons')
Expand Down

0 comments on commit fa1c999

Please sign in to comment.