Skip to content
Snippets Groups Projects
Commit 4eb3309f authored by ale's avatar ale
Browse files

refresh URL fragment when clearing the playlist

parent e06678cc
Branches
No related tags found
No related merge requests found
......@@ -67,6 +67,8 @@ djr.Player.prototype.clearPlaylist = function() {
this.playlist = new djr.Playlist();
$('#playlistDiv').empty();
djr.debug('new playlist: ' + this.playlist.uuid);
// Update the URL fragment.
djr.history.save(this.playlist.uuid);
};
// Merge all chunks into a single one.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment