0400-geo-location.lua.in: fix 0.0 GluonSrcDiet issue
This commit is contained in:
parent
6729624b68
commit
097a8accca
@ -14,14 +14,14 @@ return function(form, uci)
|
||||
if uci_longitude ~= nil then
|
||||
return uci_longitude
|
||||
end
|
||||
return site.config_mode.geo_location.map.lon(0.0)
|
||||
return site.config_mode.geo_location.map.lon(0)
|
||||
end
|
||||
|
||||
local function show_lat()
|
||||
if uci_latitude ~= nil then
|
||||
return uci_latitude
|
||||
end
|
||||
return site.config_mode.geo_location.map.lat(0.0)
|
||||
return site.config_mode.geo_location.map.lat(0)
|
||||
end
|
||||
|
||||
local function site_zoom()
|
||||
|
Loading…
Reference in New Issue
Block a user