From 4c8afeb35ad57d66da329edbdb94ef1641fa209a Mon Sep 17 00:00:00 2001 From: Fabian Franz BSc Date: Thu, 8 Feb 2018 21:56:20 +0100 Subject: [PATCH] inline nmea checksum calculator; use bootstrap style for button (#2180) * inline nmea checksum calculator; use bootstrap style for button * also style 'Advanced' button and remove * and $, use text instead of html for result * add a default string --- src/www/services_ntpd_gps.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/www/services_ntpd_gps.php b/src/www/services_ntpd_gps.php index ccf40fe9b..fd8c0fcd3 100644 --- a/src/www/services_ntpd_gps.php +++ b/src/www/services_ntpd_gps.php @@ -281,7 +281,7 @@ SureGPS = #Sure Electronics SKG16B hexsum = ("00" + hexsum).slice(-2); } // Display the result - $("#nmeachecksum").html(hexsum); + $("#nmeachecksum").text(hexsum); }); }); @@ -497,15 +497,17 @@ SureGPS = #Sure Electronics SKG16B
- " /> - + " /> -