From c8f853cbaff875fabb5c48b24152b055a0997109 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Fri, 23 Jun 2023 21:02:54 +0200 Subject: [PATCH] prettier js --- umap/static/umap/js/umap.core.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/umap/static/umap/js/umap.core.js b/umap/static/umap/js/umap.core.js index e37a5044..37787d83 100644 --- a/umap/static/umap/js/umap.core.js +++ b/umap/static/umap/js/umap.core.js @@ -645,5 +645,10 @@ L.U.Orderable = L.Evented.extend({ }) L.LatLng.prototype.isValid = function () { - return (isFinite(this.lat) && Math.abs(this.lat) <= 90 && isFinite(this.lng) && Math.abs(this.lng) <= 180) + return ( + isFinite(this.lat) && + Math.abs(this.lat) <= 90 && + isFinite(this.lng) && + Math.abs(this.lng) <= 180 + ) }