]> git.openstreetmap.org Git - rails.git/blobdiff - vendor/assets/iD/iD.js
Exchange focus between home location delete/undelete buttons
[rails.git] / vendor / assets / iD / iD.js
index ea04f7592d3c400609b2feab4afa283846ffe5c2..ad4c204939ea18982bc0a0b4b6cb38f9e5c07498 100644 (file)
   // package.json
   var package_default = {
     name: "iD",
   // 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",
     description: "A friendly editor for OpenStreetMap",
     main: "dist/iD.min.js",
     repository: "github:openstreetmap/iD",
     if (shouldUpdate === void 0) {
       shouldUpdate = (a, b) => a !== b;
     }
     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)));
   }
 
     return selection2.each(stickyCursor(setValue(value, shouldUpdate)));
   }