Skip to content

Commit

Permalink
Fix #9
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Fernández Llamas committed Aug 11, 2014
1 parent d7504f9 commit 2c951e8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/klendar.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bin/klendar.min.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions klendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ var klendarStatics = {
var lang = this.getBrowserLanguage();
if ( klendari18n[lang] ){
return klendari18n[lang];
}else if( klendari18n[lang.split('-')[0]] ){
return klendari18n[lang.split('-')[0]];
}else{
return klendari18n['en'];
}
},
getBrowserLanguage: function(){
Expand Down

0 comments on commit 2c951e8

Please sign in to comment.