Whitespace.

This commit is contained in:
Michael Stenta 2021-02-08 07:41:07 -05:00
parent 0d0dab694a
commit 46fc6bc849
9 changed files with 11 additions and 9 deletions

View File

@ -8,4 +8,4 @@ id: geofield
label: Geofield
description: 'Copies map layer data into a form textarea.'
library: 'farm_map/behavior_geofield'
settings: { }
settings: { }

View File

@ -8,4 +8,4 @@ id: popup
label: Popup
description: 'Creates popups on the map when features are selected.'
library: 'farm_map/behavior_popup'
settings: { }
settings: { }

View File

@ -8,4 +8,4 @@ id: wkt
label: WKT
description: 'Displays WKT as a map layer.'
library: 'farm_map/behavior_wkt'
settings: { }
settings: { }

View File

@ -7,4 +7,4 @@ dependencies:
id: dashboard
label: Dashboard
description: 'The farmOS dashboard map.'
options: { }
options: { }

View File

@ -7,4 +7,4 @@ dependencies:
id: default
label: Default
description: 'The default farmOS map.'
options: { }
options: { }

View File

@ -7,4 +7,4 @@ dependencies:
id: geofield
label: Geofield
description: 'Renders geofield using farmOS-map.'
options: { }
options: { }

View File

@ -7,4 +7,4 @@ dependencies:
id: geofield_widget
label: Geofield widget
description: 'Renders a geofield widget using farmOS-map.'
options: { }
options: { }

View File

@ -14,7 +14,9 @@
const mapOptions = { ...defaultOptions, ...drupalSettings.farm_map[mapId].instance};
farmOS.map.create(mapId, mapOptions);
context.querySelectorAll('.ol-popup-closer').forEach(function (element) {
element.onClick = function (element) { element.focus() };
element.onClick = function (element) {
element.focus();
};
});
});
}

View File

@ -8,4 +8,4 @@ id: mapbox
label: Mapbox
description: 'Displays Mapbox layers.'
library: 'farm_map_mapbox/mapbox'
settings: { }
settings: { }