Only load janus.js if we are using it
This commit is contained in:
parent
a7dc9d4e36
commit
03f6637060
|
@ -397,6 +397,12 @@ if ( ZM_WEB_SOUND_ON_ALARM ) {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<script src="<?php echo cache_bust('js/adapter.min.js') ?>"></script>
|
<script src="<?php echo cache_bust('js/adapter.min.js') ?>"></script>
|
||||||
|
<?php
|
||||||
|
if ( $monitor->JanusEnabled() ) {
|
||||||
|
?>
|
||||||
<script src="/javascript/janus/janus.js"></script>
|
<script src="/javascript/janus/janus.js"></script>
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
?>
|
||||||
<script src="<?php echo cache_bust('js/MonitorStream.js') ?>"></script>
|
<script src="<?php echo cache_bust('js/MonitorStream.js') ?>"></script>
|
||||||
<?php xhtmlFooter() ?>
|
<?php xhtmlFooter() ?>
|
||||||
|
|
Loading…
Reference in New Issue