diff --git a/view/php/theme_init.php b/view/php/theme_init.php index 0867c989d..1fefa110e 100644 --- a/view/php/theme_init.php +++ b/view/php/theme_init.php @@ -1,6 +1,7 @@ get_channel(); +if($channel && file_exists($channel['channel_address'] . '.js')) + head_add_js('/' . $channel['channel_address'] . '.js'); +