Fixed a typo in a comment

This commit is contained in:
pezcurrel 2023-12-27 08:40:19 +01:00
parent 3069415a2b
commit eb831bb177

View file

@ -23,7 +23,7 @@ $debug.='REQUEST_URI: '.$_SERVER['REQUEST_URI'].N;
$debug.='$_GET: '.print_r($_GET,1);
$debug.='LOCALE: '.$locale.N;
// an instance is displayed as "New" if its age, relative to the InsertTS field, is less or equal than this (currently 31 days)
// an instance is displayed as "New" if its age, relative to the InsertTS field, is less or equal than this (currently 30 days)
$oldline=30*24*60*60;
// an instance is considered dead if the last time it responded is before the graceline (see code below); we fix it at start of today - $gracetime
@ -133,15 +133,10 @@ function sethid(obj) {
function updord() {
let langsel=document.getElementById("lang"), ordsel=document.getElementById("ord");
console.log(langswri);
console.log(langsel.value);
if (langswri.indexOf(langsel.value)>=0) {
console.log("si");
if (langswri.indexOf(langsel.value)>=0)
ordsel.options[0].innerHTML="'._('Random, recommended first').'";
} else {
console.log("no");
else
ordsel.options[0].innerHTML="'._('Random').'";
}
}
function nocrit() {
@ -161,6 +156,7 @@ function nocrit() {
sethid("exappr");
document.getElementById("cbexlcko").checked=false;
sethid("exlcko");
updord();
}
function presub() {