Permalink
Browse files

Use new style prototype api

  • Loading branch information...
1 parent 50c0b2b commit f1444dd1229742460c79c0cb21ff643604b9c24b @mmangino mmangino committed Apr 23, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/facebooker/rails/helpers/fb_connect.rb
@@ -48,7 +48,7 @@ def init_fb_connect_with_options(options = {},*required_features, &proc)
when :jquery then "jQuery(document).ready("
when :dojo then "dojo.addOnLoad("
when :mootools then "window.addEvent('domready',"
- else "Element.observe(window,'load',"
+ else "Event.observe(window,'load',"
end} function() {
FB_RequireFeatures(#{required_features.to_json}, function() {
#{init_string}

0 comments on commit f1444dd

Please sign in to comment.