X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/366a9e9097e6b8ca19cd3ecb2b08db1fbc0e2274..a402e811dac1f999dcf623ce6099e554d76c6de4:/vendor/assets/iD/iD.js diff --git a/vendor/assets/iD/iD.js b/vendor/assets/iD/iD.js index f83e68fad..dd95c26b5 100644 --- a/vendor/assets/iD/iD.js +++ b/vendor/assets/iD/iD.js @@ -73756,10 +73756,11 @@ function uiCommit(context) { // always update userdetails, just in case user reauthenticates as someone else if (userDetails && userDetails.changesets_count !== undefined) { - tags.changesets_count = String(userDetails.changesets_count); + var changesetsCount = parseInt(userDetails.changesets_count, 10) + 1; // #4283 + tags.changesets_count = String(changesetsCount); // first 100 edits - new user - if (parseInt(tags.changesets_count, 10) < 100) { + if (changesetsCount <= 100) { var s; s = context.storage('walkthrough_completed'); if (s) { @@ -75842,7 +75843,7 @@ function setAreaKeys(value) { function coreContext() { var context = {}; - context.version = '2.4.0'; + context.version = '2.4.1'; // create a special translation that contains the keys in place of the strings var tkeys = lodash.cloneDeep(en);