Skip to content

Commit

Permalink
Whoops.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdm committed Feb 27, 2014
1 parent 95ccd9c commit 063819d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions foopy.js
Expand Up @@ -186,7 +186,7 @@
$('#lang select').on('change', onLangChange);

var languageRegexp = /[&?]lang=([^&?]+)/;
var defaultsub = "proglang";
var defaultGroup = "progornoprog";

// Check for language part in URL
if (languageRegexp.test(document.location.search)) {
Expand Down Expand Up @@ -237,7 +237,7 @@

switchGroup(savedGroup, savedChoice);
} else {
switchGroup(defaultGroup, defaultSub);
switchGroup(defaultGroup);
}
});
})(window.jQuery);

0 comments on commit 063819d

Please sign in to comment.