Skip to content

Commit

Permalink
Opps
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason L Perry committed Jan 1, 2009
1 parent b7a742e commit 48de1f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/recaptcha.rb
Expand Up @@ -17,7 +17,7 @@ def recaptcha_tags(options = {})
uri = options[:ssl] ? RECAPTCHA_API_SECURE_SERVER : RECAPTCHA_API_SERVER
xhtml = Builder::XmlMarkup.new :target => out=(''), :indent => 2 # Because I can.
if options[:display]
xhtml.script(:type => "text/javascript"){ |x| << "var RecaptchaOptions = #{options[:display].to_json};\n"}
xhtml.script(:type => "text/javascript"){ |x| x << "var RecaptchaOptions = #{options[:display].to_json};\n"}
end
if options[:ajax]
xhtml.div(:id => 'dynamic_recaptcha') {}
Expand Down

0 comments on commit 48de1f5

Please sign in to comment.