Map UI tooltips (#1654)

This commit is contained in:
John Firebaugh
2013-07-29 13:49:57 -07:00
parent b8a5f79a2d
commit ec76812c7a
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -140,7 +140,7 @@ iD.ui.Background = function(context) {
var content = selection.append('div')
.attr('class', 'fillL map-overlay content hide'),
tooltip = bootstrap.tooltip()
.placement('right')
.placement('left')
.html(true)
.title(iD.ui.tooltipHtml(t('background.description'), key));
+1 -1
View File
@@ -21,7 +21,7 @@ iD.ui.Geolocate = function(map) {
.attr('title', t('geolocate.title'))
.on('click', click)
.call(bootstrap.tooltip()
.placement('right'));
.placement('left'));
button.append('span')
.attr('class', 'icon geolocate light');
+1 -1
View File
@@ -134,7 +134,7 @@ iD.ui.Help = function(context) {
}
var tooltip = bootstrap.tooltip()
.placement('right')
.placement('left')
.html(true)
.title(iD.ui.tooltipHtml(t('help.title'), key));
+1 -1
View File
@@ -19,7 +19,7 @@ iD.ui.Zoom = function(context) {
.attr('class', function(d) { return d.id; })
.on('click.editor', function(d) { d.action(); })
.call(bootstrap.tooltip()
.placement('right')
.placement('left')
.html(true)
.title(function(d) {
return iD.ui.tooltipHtml(d.title, d.key);