Fix Uncaught TypeError: Cannot read property 'update' of undefined (#567)
Closes #539.
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user