Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added class instead of html

  • Loading branch information...
commit 280f4949a31ff6727ed63b59bcf9519c9de2d991 1 parent 604d400
@nicolaslara nicolaslara authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  geotagging/static/js/app/MapView.js
View
2  geotagging/static/js/app/MapView.js
@@ -110,8 +110,8 @@ $$.MapView = Backbone.View.extend({
item.style.graphicWidth = 27;
layer.collection.add(new $$.Spot(item));
layer.collection.remove(spot);
+ $('.map-legend#'+item.id).attr("class", "map-legend number"+(numbering < 10 ? "0"+numbering : numbering));
numbering += 1;
- $('.map-legend#'+item.id).html(item.number)
});
});
}else if ( options.collection ){
Please sign in to comment.
Something went wrong with that request. Please try again.