From c3500b4b81c693db92e75a8dba76d04818d0774e Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Sat, 29 Jul 2023 19:26:20 +0300 Subject: [PATCH] Remove display properties from share tabs --- app/assets/javascripts/leaflet.share.js | 3 ++- app/assets/stylesheets/common.scss | 4 ---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/app/assets/javascripts/leaflet.share.js b/app/assets/javascripts/leaflet.share.js index b9c48f15a..73ca64f63 100644 --- a/app/assets/javascripts/leaflet.share.js +++ b/app/assets/javascripts/leaflet.share.js @@ -66,7 +66,6 @@ L.OSM.share = function (options) { $("
") .attr("class", "share-tab") - .css("display", "block") .appendTo($form) .append($("") .attr("id", "long_input") @@ -75,6 +74,7 @@ L.OSM.share = function (options) { $("
") .attr("class", "share-tab") + .hide() .appendTo($form) .append($("") .attr("id", "short_input") @@ -83,6 +83,7 @@ L.OSM.share = function (options) { $("
") .attr("class", "share-tab") + .hide() .appendTo($form) .append( $("