remove spinner.

This commit is contained in:
Saman Bemel-Benrud
2013-03-27 18:47:11 -04:00
parent 9f4d5b6755
commit a742595a65
2 changed files with 5 additions and 14 deletions
+4 -5
View File
@@ -1285,6 +1285,10 @@ div.combobox {
/* Tag reference */
.preset-inspect {
position: relative;
}
.tag-help {
overflow: hidden;
}
@@ -1308,11 +1312,6 @@ img.wiki-image {
border-radius: 4px;
}
.tag-reference-spinner {
display: block;
margin: auto;
}
/* Map Controls */
.map-control {
+1 -9
View File
@@ -32,9 +32,6 @@ iD.ui.TagReference = function(entity, tag) {
}
tagReference.show = function() {
var spinner = wrap.append('img')
.attr('class', 'tag-reference-spinner')
.attr('src', 'img/loader-white.gif');
var referenceBody = wrap.selectAll('.tag-reference-wrap')
.data([this])
@@ -49,11 +46,6 @@ iD.ui.TagReference = function(entity, tag) {
}
taginfo.docs(tag, function(err, docs) {
spinner
.style('position', 'absolute')
.transition()
.style('opacity', 0)
.remove();
if (!err && docs) {
docs = findLocal(docs);
@@ -112,4 +104,4 @@ iD.ui.TagReference = function(entity, tag) {
};
return tagReference;
};
};