Skip to content

Commit

Permalink
Extra check for when lang = "undefined" as opposed to just being unde…
Browse files Browse the repository at this point in the history
…fined

git-svn-id: https://xerteonlinetoolkits.googlecode.com/svn/trunk@475 912cdd6b-5c7d-d5a7-a2ba-d0f0cdb91641
  • Loading branch information
JohnSmith-LT committed Nov 10, 2012
1 parent 854653b commit d860a3b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -152,7 +152,7 @@ $(document).ready(function() {

// function gets data from language file
function x_getLangData(lang) {
if (lang == undefined) {
if (lang == undefined || lang == "undefined") {
lang = "en-GB";
}
$.ajax({
Expand Down

0 comments on commit d860a3b

Please sign in to comment.