mirror of
				https://github.com/craigerl/aprsd.git
				synced 2025-11-03 13:10:31 -05:00 
			
		
		
		
	Disable the Send GPS Beacon button
This patch disables the 'Send GPS Beacon' button for the webchat command if the browser isn't connected over https
This commit is contained in:
		
							parent
							
								
									182887c20a
								
							
						
					
					
						commit
						65a5a90458
					
				@ -26,6 +26,11 @@
 | 
			
		||||
                start_update();
 | 
			
		||||
                init_chat();
 | 
			
		||||
                reset_Tabs();
 | 
			
		||||
 | 
			
		||||
                if (location.protocol != 'https:') {
 | 
			
		||||
                    // Have to disable the beacon button.
 | 
			
		||||
                    $('#send_beacon').prop('disabled', true);
 | 
			
		||||
                }
 | 
			
		||||
            });
 | 
			
		||||
        </script>
 | 
			
		||||
    </head>
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user