Open popup of newly added element immediatly, fix #132

This commit is contained in:
Pieter Vander Vennet 2020-10-01 00:03:12 +02:00
parent e16a210ee1
commit a75471df77
2 changed files with 15 additions and 5 deletions

View file

@ -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: ""}
]
}