mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-23 08:39:56 +02:00
Add issue count badges to the bottom info bar when validating Everything
This commit is contained in:
@@ -32,7 +32,8 @@ export function uiSourceSwitch(context) {
|
||||
|
||||
d3_select(this)
|
||||
.text(isLive ? t('source_switch.live') : t('source_switch.dev'))
|
||||
.classed('live', isLive);
|
||||
.classed('live', isLive)
|
||||
.classed('chip', isLive);
|
||||
|
||||
osm.switch(isLive ? keys[0] : keys[1]); // switch connection (warning: dispatches 'change' event)
|
||||
}
|
||||
@@ -42,7 +43,7 @@ export function uiSourceSwitch(context) {
|
||||
.append('a')
|
||||
.attr('href', '#')
|
||||
.text(t('source_switch.live'))
|
||||
.classed('live', true)
|
||||
.attr('class', 'live chip')
|
||||
.on('click', click);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user