Skip to content

Commit

Permalink
Clear highlight when map clicked not modal closed
Browse files Browse the repository at this point in the history
  • Loading branch information
bmcbride committed Jul 16, 2014
1 parent a8bfdfa commit bd7b5fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -332,8 +332,8 @@ map.on("overlayremove", function(e) {
}
});

/* Clear feature highlight when featureModal is closed */
$("#featureModal").on("hide.bs.modal", function (e) {
/* Clear feature highlight when map is clicked */
map.on("click", function(e) {
highlight.clearLayers();
});

Expand Down

0 comments on commit bd7b5fb

Please sign in to comment.