mirror of
https://github.com/Frumph/comic-easel.git
synced 2026-07-01 09:24:58 -04:00
logic fix for displaying adinfo script
This commit is contained in:
+2
-1
@@ -606,7 +606,8 @@ function ceo_run_scripts() {
|
||||
}
|
||||
|
||||
function ceo_bf_add_script_to_head() {
|
||||
if (!empty(ceo_pluginfo('bf_adinfo'))) {
|
||||
$ceo_options = get_option('comiceasel-config');
|
||||
if (isset($ceo_options['bf_adinfo']) && !empty($ceo_options['bf_adinfo'])) {
|
||||
echo '<script type="text/javascript" src="https://thor.blindferret.media/'.ceo_pluginfo('bf_adinfo').'/jita.js?dfp=1" async defer></script>'."\r\n";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user