From 0c41a8775a85c2ff3bdfd12e26695156a3b139a4 Mon Sep 17 00:00:00 2001 From: "W. Andrew Loe III" <andrew@andrewloe.com> Date: Fri, 20 Aug 2010 22:42:50 -0700 Subject: [PATCH] Don't double concat! --- lib/facebooker2/rails/helpers/javascript.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }()); </script> JAVASCRIPT - block_given? ? concat(js) : js + js end end end