forked from MapComplete/MapComplete
Open popup of newly added element immediatly, fix #132
This commit is contained in:
parent
e16a210ee1
commit
a75471df77
2 changed files with 15 additions and 5 deletions
|
@ -1,6 +1,7 @@
|
|||
import {Img} from "../../UI/Img";
|
||||
import {RegexTag, Tag} from "../../Logic/Tags";
|
||||
import {TagRenderingOptions} from "../TagRenderingOptions";
|
||||
import {FixedUiElement} from "../../UI/Base/FixedUiElement";
|
||||
|
||||
|
||||
export class OsmLink extends TagRenderingOptions {
|
||||
|
@ -18,7 +19,7 @@ export class OsmLink extends TagRenderingOptions {
|
|||
placeholder: "",
|
||||
},
|
||||
mappings: [
|
||||
{k: new RegexTag("id", /node\/-.+/), txt: "<span class='alert'>Uploading</span>"}
|
||||
{k: new RegexTag("id", /node\/-.+/), txt: ""}
|
||||
]
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue