fixed js style
This commit is contained in:
@@ -167,7 +167,7 @@ function dispatch (action, ...args) {
|
|||||||
if (!['mediaMouseMoved', 'mediaTimeUpdate'].includes(action)) {
|
if (!['mediaMouseMoved', 'mediaTimeUpdate'].includes(action)) {
|
||||||
console.log('dispatch: %s %o', action, args)
|
console.log('dispatch: %s %o', action, args)
|
||||||
}
|
}
|
||||||
if (action === 'toggleOpenInVlc') {
|
if (action === 'toggleOpenInVlc') {
|
||||||
toggleOpenInVlc(args[0])
|
toggleOpenInVlc(args[0])
|
||||||
}
|
}
|
||||||
if (action === 'onOpen') {
|
if (action === 'onOpen') {
|
||||||
@@ -1079,7 +1079,7 @@ function openPlayerFromActiveTorrent (torrentSummary, index, timeout, cb) {
|
|||||||
dispatch('vlcPlay')
|
dispatch('vlcPlay')
|
||||||
update()
|
update()
|
||||||
cb()
|
cb()
|
||||||
return;
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// otherwise, play the video
|
// otherwise, play the video
|
||||||
|
|||||||
Reference in New Issue
Block a user