This commit is contained in:
parent
beac76f29a
commit
8306511819
|
@ -46,7 +46,7 @@
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
(function(){
|
(function(){
|
||||||
$(".fb-share-button").click(function(){
|
$(".fb-share-button").click(function(){
|
||||||
var url = "https://www.facebook.com/sharer/sharer.php?u=" + encodeURIComponent("<%= request.url %>") + "t=" +encodeURIComponent("<%= @bulletin.title %>");
|
var url = "https://www.facebook.com/sharer/sharer.php?u=" + encodeURIComponent("<%= @bulletin.title %>") + "&u=" +encodeURIComponent("<%= request.url %>");
|
||||||
newwindow = window.open(url,'name','height=500,width=1024');
|
newwindow = window.open(url,'name','height=500,width=1024');
|
||||||
if (window.focus) {newwindow.focus()}
|
if (window.focus) {newwindow.focus()}
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue