Remove facebook.js, replace with direct live link

This fixes some console errors
This commit is contained in:
slawkens 2021-01-07 23:37:47 +01:00
parent 1e969f8d8a
commit b2b0b31168
2 changed files with 1 additions and 151 deletions

View File

@ -18,7 +18,7 @@ if(isset($config['boxes']))
<?php endif; ?> <?php endif; ?>
<?php if(!empty($config['network_facebook'])): ?> <?php if(!empty($config['network_facebook'])): ?>
<script id="facebook-jssdk" async src="<?php echo $template_path; ?>/js/facebook.js"></script> <script id="facebook-jssdk" async src="https://connect.facebook.net/en_US/all.js"></script>
<link href="<?php echo $template_path; ?>/css/facebook.css" rel="stylesheet" type="text/css"> <link href="<?php echo $template_path; ?>/css/facebook.css" rel="stylesheet" type="text/css">
<?php endif; ?> <?php endif; ?>

File diff suppressed because one or more lines are too long