mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
In WPPlaylistView::ended(), at the end of a playlist, set the index to 0 and call ->setCurrent() instead of ->loadCurrent() so that the first track is properly highlighted.
Fixes #28428. git-svn-id: https://develop.svn.wordpress.org/trunk@28649 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -145,8 +145,7 @@
|
||||
this.next();
|
||||
} else {
|
||||
this.index = 0;
|
||||
this.current = this.tracks.at( this.index );
|
||||
this.loadCurrent();
|
||||
this.setCurrent();
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user