Changes

16 bytes removed ,  22:20, 23 April 2018
no edit summary
Line 16: Line 16:  
$( document ).ready(function() {
 
$( document ).ready(function() {
   −
console.log(typeof getCookie('lang'));
+
console.log(getCookie('lang'));
var lang = (typeof getCookie('lang') !== "undefined") ? getCookie('lang') : 'en';
+
var lang = getCookie('lang') !== "undefined" ? getCookie('lang') : 'en';
    
$.ajax({
 
$.ajax({