diff --git a/lib/facebooker2/rails/helpers/javascript.rb b/lib/facebooker2/rails/helpers/javascript.rb index c623c40..906a407 100644 --- a/lib/facebooker2/rails/helpers/javascript.rb +++ b/lib/facebooker2/rails/helpers/javascript.rb @@ -40,7 +40,7 @@ module Facebooker2 }()); JAVASCRIPT - block_given? ? concat(js) : js + js end end end