Make WordPress Core

Ticket #27644: 27644.2.diff

File 27644.2.diff, 1.7 KB (added by wonderboymusic, 12 years ago)
  • src/wp-includes/js/mediaelement/wp-mediaelement.css

     
    106106        line-height: 1.5;
    107107}
    108108
     109.wp-playlist-item .wp-playlist-caption {
     110        text-decoration: none;
     111        color: #000;
     112}
     113
    109114.wp-playlist-item-meta {
    110115        display: block;
    111116        font-size: 14px;
  • src/wp-includes/js/mediaelement/wp-playlist.js

     
    107107                },
    108108
    109109                clickTrack : function (e) {
     110                        e.preventDefault();
     111
    110112                        this.index = this.$( '.wp-playlist-item' ).index( e.currentTarget );
    111113                        this.setCurrent();
    112114                },
  • src/wp-includes/media.php

     
    10271027</script>
    10281028<script type="text/html" id="tmpl-wp-playlist-item">
    10291029        <div class="wp-playlist-item">
    1030                 <div class="wp-playlist-caption">
     1030                <a class="wp-playlist-caption" href="{{ data.src }}">
    10311031                        {{ data.index ? ( data.index + '. ' ) : '' }}
    10321032                        <# if ( data.caption ) { #>
    10331033                                {{ data.caption }}
     
    10371037                                <span class="wp-playlist-item-artist"> &mdash; {{ data.meta.artist }}</span>
    10381038                                <# } #>
    10391039                        <# } #>
    1040                 </div>
     1040                </a>
    10411041                <# if ( data.meta.length_formatted ) { #>
    10421042                <div class="wp-playlist-item-length">{{ data.meta.length_formatted }}</div>
    10431043                <# } #>