only add the development h3 if it has contents, otherwise it pushes the header size down

This commit is contained in:
Isaac Connor 2016-09-13 10:25:49 -04:00
parent a6b23f50d5
commit 0bc50810de
1 changed files with 1 additions and 1 deletions

View File

@ -243,7 +243,7 @@ function getNavBarHTML() {
</div>
<div class="pull-right">
<?php echo makePopupLink( '?view=version', 'zmVersion', 'version', '<span class="'.$versionClass.'">v'.ZM_VERSION.'</span>', canEdit( 'System' ) ) ?>
<?php if ( defined('ZM_WEB_CONSOLE_BANNER') ) { ?>
<?php if ( defined('ZM_WEB_CONSOLE_BANNER') and ZM_WEB_CONSOLE_BANNER != '' ) { ?>
<h3 id="development"><?php echo ZM_WEB_CONSOLE_BANNER ?></h3>
<?php } ?>
</div>