Fixes for PR #1648

This commit is contained in:
Feross Aboukhadijeh
2019-08-15 13:10:39 -07:00
parent 4b927832c2
commit afd3b84b40
2 changed files with 3 additions and 1 deletions

View File

@@ -38,7 +38,8 @@ function getPreviousIndex (state) {
function getCurrentLocalURL (state) {
return state.server
? state.server.localURL + '/' + state.playing.fileIndex + '/' + encodeURIComponent(state.playing.fileName)
? state.server.localURL + '/' + state.playing.fileIndex + '/' +
encodeURIComponent(state.playing.fileName)
: ''
}