Use tld for close button in popup

pull/4/head
Tobias Bieniek 2015-01-19 19:38:24 +01:00
rodzic 57e9d475da
commit 9fbf927dae
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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);
}