mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-27 02:12:24 +02:00
Convert some element ids to classes to avoid collisions when embedding iD
This commit is contained in:
@@ -107,7 +107,7 @@ export function uiToolNotes(context) {
|
||||
.placement('bottom')
|
||||
.html(true)
|
||||
.title(function(d) { return uiTooltipHtml(d.description, d.key); })
|
||||
.scrollContainer(d3_select('#bar'))
|
||||
.scrollContainer(d3_select('.top-toolbar'))
|
||||
);
|
||||
|
||||
buttonsEnter
|
||||
@@ -118,7 +118,7 @@ export function uiToolNotes(context) {
|
||||
|
||||
// if we are adding/removing the buttons, check if toolbar has overflowed
|
||||
if (buttons.enter().size() || buttons.exit().size()) {
|
||||
context.ui().checkOverflow('#bar', true);
|
||||
context.ui().checkOverflow('.top-toolbar', true);
|
||||
}
|
||||
|
||||
// update
|
||||
|
||||
Reference in New Issue
Block a user