From: Anton Khorev Date: Sat, 29 Jul 2023 16:26:20 +0000 (+0300) Subject: Remove display properties from share tabs X-Git-Tag: live~1187^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/c3500b4b81c693db92e75a8dba76d04818d0774e Remove display properties from share tabs --- 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( $("