Make WordPress Core


Ignore:
Timestamp:
08/25/2014 10:44:32 PM (9 years ago)
Author:
azaozz
Message:

Media modal: fix the progress bar in the attachment thumbnail. Props gcorne, fixes #29367

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/media-template.php

    r29537 r29609  
    429429            <div class="thumbnail">
    430430                <# if ( data.uploading ) { #>
    431                     <div class="media-progress-bar"><div>
     431                    <div class="media-progress-bar"><div style="width: {{ data.percent }}%"></div></div>
    432432                <# } else if ( 'image' === data.type && data.sizes ) { #>
    433433                    <div class="centered">
Note: See TracChangeset for help on using the changeset viewer.