Open main menu
Home
Random
Log in
Settings
About wiki
Terms and conditions of use
wiki
Search
Changes
← Older edit
Newer edit →
MediaWiki:Common.js
(view source)
Revision as of 22:19, 23 April 2018
64 bytes added
,
22:19, 23 April 2018
no edit summary
Line 16:
Line 16:
$( document ).ready(function() {
$( document ).ready(function() {
−
var lang = getCookie('lang') ? getCookie('lang') : 'en';
+
console.log(typeof getCookie('lang'));
+
var lang =
(typeof
getCookie('lang'
) !== "undefined"
) ? getCookie('lang') : 'en';
$.ajax({
$.ajax({
Mark.wooff
Bureaucrats
,
Administrators
55
edits