diff --git a/modules/ui/version.js b/modules/ui/version.js index 472655984..c73f3a4ed 100644 --- a/modules/ui/version.js +++ b/modules/ui/version.js @@ -30,14 +30,13 @@ export function uiVersion(context) { // only show new version indicator to users that have used iD before if (isNewVersion && !isNewUser) { - var fragment = currVersion.replace(/\./g, ''); selection .append('div') .attr('class', 'badge') .append('a') .attr('target', '_blank') .attr('tabindex', -1) - .attr('href', 'https://github.com/openstreetmap/iD/blob/master/CHANGELOG.md#' + fragment) + .attr('href', 'https://github.com/openstreetmap/iD/blob/master/CHANGELOG.md#whats-new') .call(svgIcon('#gift-11')) .call(tooltip() .title(t('version.whats_new', { version: currVersion }))