Make the sharing controls read-only
They aren't used for inputting any information, only for copying.
This commit is contained in:
parent
dc24f6c219
commit
01eed9b96c
1 changed files with 3 additions and 0 deletions
|
@ -69,6 +69,7 @@ L.OSM.share = function (options) {
|
|||
.attr("id", "long_input")
|
||||
.attr("type", "text")
|
||||
.attr("class", "form-control form-control-sm font-monospace")
|
||||
.attr("readonly", true)
|
||||
.on("click", select));
|
||||
|
||||
$("<div>")
|
||||
|
@ -79,6 +80,7 @@ L.OSM.share = function (options) {
|
|||
.attr("id", "short_input")
|
||||
.attr("type", "text")
|
||||
.attr("class", "form-control form-control-sm font-monospace")
|
||||
.attr("readonly", true)
|
||||
.on("click", select));
|
||||
|
||||
$("<div>")
|
||||
|
@ -89,6 +91,7 @@ L.OSM.share = function (options) {
|
|||
$("<textarea>")
|
||||
.attr("id", "embed_html")
|
||||
.attr("class", "form-control form-control-sm font-monospace")
|
||||
.attr("readonly", true)
|
||||
.on("click", select))
|
||||
.append(
|
||||
$("<p>")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue