Ignore:
Timestamp:
Jan 26, 2013, 12:48:44 PM (11 years ago)
Author:
mistic100
Message:

simplyfy code, add noscript fallback for twitter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/SocialButtons/template/facebook.tpl

    r20374 r20406  
    11{strip}
    22{footer_script}jQuery('body').prepend('<div id="fb-root"></div>');{/footer_script}
    3 {combine_script id='facebook_jssdk' load='async' path='https://connect.facebook.net/'|cat:$SOCIALBUTT.FACEBOOK.lang|cat:'/all.js#xfbml=1'}
     3{combine_script id='facebook_jssdk' load='footer' path='https://connect.facebook.net/'|cat:$SOCIALBUTT.FACEBOOK.lang|cat:'/all.js#xfbml=1'}
    44
    55{if $SOCIALBUTT.FACEBOOK.layout=='none'}
    66{html_style}{literal}
    7 .fb-like span { height: 22px !important; overflow: hidden; margin-right:10px; }
     7.fb-like span { height: 22px !important; overflow: hidden !important; margin-right:10px; }
    88.fb-like iframe { top: -41px; }
    99{/literal}{/html_style}
Note: See TracChangeset for help on using the changeset viewer.