Important: The GCConnex decommission will not affect GCCollab or GCWiki. Thank you and happy collaborating!

Changes

Jump to navigation Jump to search
no edit summary
Line 16: Line 16:  
$( document ).ready(function() {
 
$( document ).ready(function() {
   −
var lang = getCookie('lang');
+
var lang = getCookie('lang') != "" ? getCookie('lang') : 'en';
    
$.ajax({
 
$.ajax({
Line 33: Line 33:  
     var userid = data.query.userinfo.id;
 
     var userid = data.query.userinfo.id;
 
     var currentLang = data.query.userinfo.options.language;
 
     var currentLang = data.query.userinfo.options.language;
 +
    setCookie('lang', lang);
    
     if(userid != 0 && lang != currentLang){
 
     if(userid != 0 && lang != currentLang){

Navigation menu

GCwiki