Skip to content

Commit

Permalink
temporarily work around bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jcheng5 committed Nov 2, 2017
1 parent 0bb824a commit 046a72b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@ Suggests:
sp,
testit
VignetteBuilder: knitr
RoxygenNote: 6.0.1
2 changes: 2 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Generated by roxygen2: do not edit by hand

S3method(pointData,SpatialPoints)
S3method(pointData,SpatialPointsDataFrame)
S3method(pointData,data.frame)
Expand Down
2 changes: 1 addition & 1 deletion inst/htmlwidgets/leaflet.js
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ var dataframe = (function() {

if (!HTMLWidgets.shinyMode) return map;

map.id = this.getId(el);
map.id = el.id;

// When the map is clicked, send the coordinates back to the app
map.on('click', function(e) {
Expand Down

0 comments on commit 046a72b

Please sign in to comment.