Skip to content

Commit

Permalink
Merge pull request #6 from robinboening/master
Browse files Browse the repository at this point in the history
Fixes JS error in Geomap
  • Loading branch information
Corey Ehmke committed Sep 6, 2011
2 parents 1620ddd + 77cc4ce commit 76084cd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/seer/geomap.rb
Expand Up @@ -90,8 +90,7 @@ def data_mode=(mode) #:nodoc:

def data_table #:nodoc:
@data_table = []
data.each_with_index do |datum, column|
next unless datum.geocoded?
data.select{ |d| d.geocoded? }.each_with_index do |datum, column|
if data_mode == "markers"
@data_table << [
" data.setValue(#{column}, 0, #{datum.latitude});\r",
Expand Down

0 comments on commit 76084cd

Please sign in to comment.