mirror of
https://bitbucket.org/s_l_teichmann/mtsatellite
synced 2025-06-28 06:12:08 +02:00
Small JS nits.
This commit is contained in:
@ -96,7 +96,7 @@ L.control.coordinates({
|
||||
}).addTo(map);
|
||||
|
||||
var manualUpdateControl;
|
||||
if (window.WebSocket && useWebsocket) {
|
||||
if (useWebsocket && 'WebSocket' in window) {
|
||||
L.autoUpdate('autoUpdate', function(pressed) {
|
||||
if (pressed) {
|
||||
manualUpdateControl.getContainer().style = 'visibility: hidden';
|
||||
|
Reference in New Issue
Block a user