Fix Uncaught TypeError: Cannot read property 'update' of undefined (#567)
Closes #539.
This commit is contained in:
parent
eba09430e3
commit
fca1d9dae4
1 changed files with 1 additions and 1 deletions
|
|
@ -183,7 +183,7 @@ function render (state) {
|
|||
// Calls render() to go from state -> UI, then applies to vdom to the real DOM.
|
||||
function update () {
|
||||
showOrHidePlayerControls()
|
||||
vdomLoop.update(state)
|
||||
if (vdomLoop) vdomLoop.update(state)
|
||||
updateElectron()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue