mirror of
https://github.com/smittix/intercept.git
synced 2026-04-24 06:40:00 -07:00
fix: SSTV location settings and panel sizing
- Fix GPS button not working (pass button element to handler) - Hide output element in SSTV mode to allow panels to fill space - Add explicit height rules for SSTV panels to expand vertically Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -570,7 +570,7 @@ function loadObserverLocation() {
|
||||
/**
|
||||
* Detect location using browser GPS
|
||||
*/
|
||||
function detectLocationGPS() {
|
||||
function detectLocationGPS(btn) {
|
||||
const latInput = document.getElementById('observerLatInput');
|
||||
const lonInput = document.getElementById('observerLonInput');
|
||||
|
||||
@@ -584,7 +584,6 @@ function detectLocationGPS() {
|
||||
}
|
||||
|
||||
// Show loading state
|
||||
const btn = event.target.closest('button');
|
||||
const originalText = btn.innerHTML;
|
||||
btn.innerHTML = '<span style="opacity: 0.7;">Detecting...</span>';
|
||||
btn.disabled = true;
|
||||
|
||||
Reference in New Issue
Block a user