Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #11 from mohawkjohn/tag_name_fix
tag_name should be name. There's no tag_name element in Nokogiri::XML::E...
  • Loading branch information
clbustos committed Nov 19, 2011
2 parents ecd6872 + 3030a91 commit 04fb7d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rubyvis/scene/svg_scene.rb
Expand Up @@ -150,7 +150,7 @@ def self.append(e,scenes,index)

def self.title(e,s)
a = e.parent
a=nil if (a and (a.tag_name != "a"))
a=nil if (a and (a.name != "a"))
if (s.title)
if (!a)
a = self.create("a")
Expand Down

0 comments on commit 04fb7d8

Please sign in to comment.