remove workaround for lighttpd (bug was fixed)

fix hover highlight info
This commit is contained in:
Matthias Wirth
2020-12-11 16:06:03 +01:00
parent 499343d06e
commit 95b6844d6d
2 changed files with 10 additions and 8 deletions

View File

@@ -2248,9 +2248,9 @@ function refreshSelected() {
function refreshHighlighted() {
// this is following nearly identical logic, etc, as the refreshSelected function, but doing less junk for the highlighted pane
let highlighted = false;
let highlighted = Planes[HighlightedPlane];
if (!HighlightedPlane || !(highlighted = Planes[HighlightedPlane]) ) {
if (!highlighted) {
$('#highlighted_infoblock').hide();
return;
}
@@ -2259,8 +2259,7 @@ function refreshHighlighted() {
let infoBox = $('#highlighted_infoblock');
let marker = highlighted.marker;
let marker = highlighted.marker || highlighted.glMarker;
let geom;
let markerCoordinates;
if (!marker || !(geom = marker.getGeometry()) || !(markerCoordinates = geom.getCoordinates()) ) {
@@ -3954,15 +3953,18 @@ function highlight(evt) {
}
);
clearTimeout(pointerMoveTimeout);
if (hex == HighlightedPlane)
return;
//clearTimeout(pointerMoveTimeout);
if (hex) {
HighlightedPlane = hex;
pointerMoveTimeout = setTimeout(refreshHighlighted(), 300);
} else {
HighlightedPlane = null;
pointerMoveTimeout = setTimeout(removeHighlight(), 300);
}
//pointerMoveTimeout = setTimeout(refreshHighlighted(), 300);
refreshHighlighted();
}
function processURLParams(){

View File

@@ -284,7 +284,7 @@ do
if [[ $lighttpd == yes ]] &>/dev/null
then
if [[ "$otherport" != "done" ]] && ! lighttpd -v | grep -E 'lighttpd/1.4.(5[6-9]|[6-9])' -qs; then
if [[ "$otherport" != "done" ]]; then
cp 95-tar1090-otherport.conf /etc/lighttpd/conf-available/
ln -f -s /etc/lighttpd/conf-available/95-tar1090-otherport.conf /etc/lighttpd/conf-enabled/95-tar1090-otherport.conf
otherport="done"