make fb_connect_async_js return a html_safe string for rails 3
This commit is contained in:
parent
2a326d141e
commit
faabe06c39
@ -31,8 +31,12 @@ module Facebooker2
|
|||||||
s.appendChild(e);
|
s.appendChild(e);
|
||||||
}());
|
}());
|
||||||
</script>
|
</script>
|
||||||
JAVASCRIPT
|
JAVASCRIPT
|
||||||
block_given? ? concat(js) : js
|
if ::Rails::VERSION::STRING > "2"
|
||||||
|
js.html_safe
|
||||||
|
else
|
||||||
|
block_given? ? concat(js) : js
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user