// package.json
var package_default = {
name: "iD",
- version: "2.26.0",
+ version: "2.26.1",
description: "A friendly editor for OpenStreetMap",
main: "dist/iD.min.js",
repository: "github:openstreetmap/iD",
return value2 === null || value2 === void 0 ? valueNull : typeof value2 === "function" ? valueFunction : valueConstant;
}
function stickyCursor(func) {
+ const supportedTypes = ["text", "search", "url", "tel", "password"];
return function() {
+ if (!supportedTypes.includes(this.type)) {
+ return;
+ }
const cursor = { start: this.selectionStart, end: this.selectionEnd };
func.apply(this, arguments);
this.setSelectionRange(cursor.start, cursor.end);