Skip to content

Commit

Permalink
Solved progressbar issue in BP nouveau template
Browse files Browse the repository at this point in the history
  • Loading branch information
Malav committed Jun 12, 2018
1 parent 48ed13f commit 24dd78c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions templates/upload/comment-media.php
Expand Up @@ -4,6 +4,11 @@
}
?>
<div class="rtmedia-container rtmedia-uploader-div">
<?php
$bp_template = get_option( '_bp_theme_package_id' );
if( 'legacy' !== $bp_template ){ ?>
<div class="rtmedia-container rtmedia-uploader-div">
<?php } ?>
<?php
if ( isset( $attr['rtmedia_simple_file_upload'] ) && true === $attr['rtmedia_simple_file_upload'] ) {
if ( isset( $attr['rtmedia_upload_without_form'] ) && true === $attr['rtmedia_upload_without_form'] ) { ?>
Expand Down Expand Up @@ -103,4 +108,9 @@
?>
</div>
<?php
if( 'legacy' !== $bp_template ){ ?>
</div>
<?php } ?>

<?php
}

0 comments on commit 24dd78c

Please sign in to comment.