X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0a8dae77fbf8e0f7539f1a64abbf4ed32cf79558..81ce6a7de0be8ada90ebc587506d957d609babfa:/vendor/assets/iD/iD.js?ds=inline diff --git a/vendor/assets/iD/iD.js b/vendor/assets/iD/iD.js index ea04f7592..ad4c20493 100644 --- a/vendor/assets/iD/iD.js +++ b/vendor/assets/iD/iD.js @@ -22762,7 +22762,7 @@ // package.json var package_default = { name: "iD", - version: "2.26.0", + version: "2.26.2", description: "A friendly editor for OpenStreetMap", main: "dist/iD.min.js", repository: "github:openstreetmap/iD", @@ -25805,6 +25805,10 @@ if (shouldUpdate === void 0) { shouldUpdate = (a, b) => a !== b; } + const supportedTypes = ["text", "search", "url", "tel", "password"]; + if (!supportedTypes.includes(this.type)) { + return selection2.each(setValue(value, shouldUpdate)); + } return selection2.each(stickyCursor(setValue(value, shouldUpdate))); }