kopia lustrzana https://github.com/glidernet/ogn-live
Use tld for close button in popup
rodzic
57e9d475da
commit
9fbf927dae
|
@ -1462,7 +1462,7 @@ function initialize()
|
|||
}
|
||||
|
||||
if (warn==1) {
|
||||
document.getElementById("popup").innerHTML = "<img class=\"pr\" alt=\"close\" src=\"/pict/close.png\"><H1>Warning!</H1><BR><P style=\"text-align:justify;\"><B>The data on this site can be ambiguous in certain situations and the displayed position of an aircraft or glider can be displaced relative to the actual position.<BR>Before raising an alert please contact us so we can interpret the data correctly.</B></P>";
|
||||
document.getElementById("popup").innerHTML = "<img class=\"pr\" alt=\"close\" src=\"" + tld + "/pict/close.png\"><H1>Warning!</H1><BR><P style=\"text-align:justify;\"><B>The data on this site can be ambiguous in certain situations and the displayed position of an aircraft or glider can be displaced relative to the actual position.<BR>Before raising an alert please contact us so we can interpret the data correctly.</B></P>";
|
||||
op(300);
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue