From 5d2b9688635530b6b51817f71926638ce48f79dd Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Sat, 16 Dec 2023 09:16:13 +0100 Subject: [PATCH] chore: prettier --- umap/static/umap/js/umap.controls.js | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/umap/static/umap/js/umap.controls.js b/umap/static/umap/js/umap.controls.js index e250a329..bd753209 100644 --- a/umap/static/umap/js/umap.controls.js +++ b/umap/static/umap/js/umap.controls.js @@ -2,7 +2,10 @@ L.U.BaseAction = L.ToolbarAction.extend({ initialize: function (map) { this.map = map if (this.options.label) { - this.options.tooltip = this.map.help.displayLabel(this.options.label, withKbdTag=false) + this.options.tooltip = this.map.help.displayLabel( + this.options.label, + (withKbdTag = false) + ) } this.options.toolbarIcon = { className: this.options.className, @@ -18,7 +21,7 @@ L.U.ImportAction = L.U.BaseAction.extend({ options: { helpMenu: true, className: 'upload-data dark', - label: 'IMPORT_PANEL' + label: 'IMPORT_PANEL', }, addHooks: function () { @@ -87,7 +90,7 @@ L.U.DrawMarkerAction = L.U.BaseAction.extend({ options: { helpMenu: true, className: 'umap-draw-marker dark', - label: 'DRAW_MARKER' + label: 'DRAW_MARKER', }, addHooks: function () { @@ -99,7 +102,7 @@ L.U.DrawPolylineAction = L.U.BaseAction.extend({ options: { helpMenu: true, className: 'umap-draw-polyline dark', - label: 'DRAW_LINE' + label: 'DRAW_LINE', }, addHooks: function () { @@ -111,7 +114,7 @@ L.U.DrawPolygonAction = L.U.BaseAction.extend({ options: { helpMenu: true, className: 'umap-draw-polygon dark', - label: 'DRAW_POLYGON' + label: 'DRAW_POLYGON', }, addHooks: function () {