From 0ee5cdb5de72e3a3c4cdbf9157438f0e5c8e44dc Mon Sep 17 00:00:00 2001 From: terribl Date: Tue, 21 May 2013 11:43:08 +0300 Subject: [PATCH] Fixed a bug on Settings-link placement --- public_html/gmap.html | 2 +- public_html/script.js | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/public_html/gmap.html b/public_html/gmap.html index a197601..6bdd622 100644 --- a/public_html/gmap.html +++ b/public_html/gmap.html @@ -13,7 +13,7 @@
-

Dump1090 - 00:00:00 UTC

+

Dump1090 - 00:00:00 UTC

Click on a plane for info.

diff --git a/public_html/script.js b/public_html/script.js index 4d6c9fd..ba89a47 100644 --- a/public_html/script.js +++ b/public_html/script.js @@ -366,8 +366,7 @@ function printTime() { function placeSettings() { $('#info_settings').css('top', parseInt($('#utcTime').offset().top)); - var marginLeft = $('#info').width() - $('#info_settings').width(); - marginLeft -= parseInt($('#info_settings').width() / 3); // Little air around + var marginLeft = $('#header').width() - $('#info_settings').width(); $('#info_settings').css('left', marginLeft); }