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.
|
// Calls render() to go from state -> UI, then applies to vdom to the real DOM.
|
||||||
function update () {
|
function update () {
|
||||||
showOrHidePlayerControls()
|
showOrHidePlayerControls()
|
||||||
vdomLoop.update(state)
|
if (vdomLoop) vdomLoop.update(state)
|
||||||
updateElectron()
|
updateElectron()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user