removed old share links
This commit is contained in:
parent
781a49750e
commit
caad66cfb8
|
@ -38,14 +38,12 @@
|
|||
<% end %>
|
||||
</div>
|
||||
|
||||
<%= share_links(@bulletin, 'announcement') %>
|
||||
<%#= share_links(@bulletin, 'announcement') %>
|
||||
<% if @fb_share %>
|
||||
<a href="" target="_blank" class="fb-share-button">
|
||||
<%= image_tag("announcement/fbn.png",:width=>30, :height=>30) %>
|
||||
</a>
|
||||
<% end %>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script type="text/javascript">
|
||||
(function(){
|
||||
$(".fb-share-button").click(function(){
|
||||
var img = window.location.protocol + "//" + window.location.host + "<%= @bulletin.image.url rescue '' %>",
|
||||
|
@ -55,4 +53,5 @@
|
|||
return false;
|
||||
})
|
||||
})();
|
||||
</script>
|
||||
</script>
|
||||
<% end %>
|
Loading…
Reference in New Issue