mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-22 16:19:48 +02:00
remove spinner.
This commit is contained in:
+4
-5
@@ -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 {
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user