diff --git a/main/index.js b/main/index.js index 3b86e37a..5e7bd055 100644 --- a/main/index.js +++ b/main/index.js @@ -56,7 +56,6 @@ function init () { init() function update () { - console.log('update') var newVDom = App(state, handler) var patches = diff(currentVDom, newVDom) rootElement = patch(rootElement, patches) @@ -195,6 +194,7 @@ function closePlayer () { function onError (err) { console.error(err.stack) window.alert(err.message || err) + update() } function onWarning (err) {