Link to whats-new section, not version fragment identifier

This commit is contained in:
Bryan Housel
2017-05-08 23:08:53 -04:00
parent 4f3f27e26c
commit 4432c16e51
+1 -2
View File
@@ -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 }))