Skip to content

Commit

Permalink
fix(marker): use correct individual isDeep watch parameter
Browse files Browse the repository at this point in the history
fixes issue #854
  • Loading branch information
Wilzi committed Jul 16, 2015
1 parent 4ae5415 commit 17fb090
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/directives/markers.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ angular.module("leaflet-directive").directive('markers',

if (watchOptions.individual.doWatch) {
addMarkerWatcher(marker, pathToMarker, leafletScope, layers, map,
watchOptions.individual.doWatch);
watchOptions.individual.isDeep);
}

listenMarkerEvents(marker, model, leafletScope, watchOptions.individual.doWatch, map);
Expand Down

0 comments on commit 17fb090

Please sign in to comment.