From cc7b8fa9d02302991cb38ffecabc08e3e5ac22c5 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Wed, 7 Feb 2024 11:14:19 -0500 Subject: [PATCH] Rename DMS2LL to dms2ll to satisfy eslint --- web/skins/classic/views/js/monitor.js | 4 ++-- web/skins/classic/views/monitor.php | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/web/skins/classic/views/js/monitor.js b/web/skins/classic/views/js/monitor.js index 55ca67ce5..20e531f10 100644 --- a/web/skins/classic/views/js/monitor.js +++ b/web/skins/classic/views/js/monitor.js @@ -417,7 +417,7 @@ function ll2dms(input) { updateMarker(); } -function DMS2LL(input) { +function dms2ll(input) { const latitude = document.getElementById('newMonitor[Latitude]'); const longitude = document.getElementById('newMonitor[Longitude]'); const dms = parseDms(input.value); @@ -427,7 +427,7 @@ function DMS2LL(input) { } else if (input.id == 'LongitudeDMS') { longitude.value = dms.toFixed(8); } else { - console.log('Unknown input in DMS2LL'); + console.log('Unknown input in dms2ll'); } updateMarker(); } diff --git a/web/skins/classic/views/monitor.php b/web/skins/classic/views/monitor.php index b43002394..4f559cba2 100644 --- a/web/skins/classic/views/monitor.php +++ b/web/skins/classic/views/monitor.php @@ -1535,13 +1535,13 @@ echo htmlSelect('newMonitor[ReturnLocation]', $return_options, $monitor->ReturnL ?>
  • - - + +
  • - - + +