File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -711,11 +711,10 @@ injections mode isBackend isLocalDev =
711711 const die = function() {
712712 //console.log('App dying');
713713
714- // Render one last time, synchronously, in case their is a scheduled
714+ // Render one last time, synchronously, in case there is a scheduled
715715 // render with requestAnimationFrame (which then become no-ops).
716716 // Rendering mutates the vdom, and we want those mutations.
717717 stepper(model, true /* isSync */);
718- var toReturn = _VirtualDom_lastVNode;
719718
720719 // Remove Elm's event listeners. Both the ones added
721720 // automatically on every <a> element, as well as the ones
@@ -754,7 +753,7 @@ injections mode isBackend isLocalDev =
754753 // in upgrade mode, and the update function stops doing its regular business
755754 // and just forwards messages instead.
756755
757- return toReturn ;
756+ return _VirtualDom_lastVNode ;
758757 }
759758
760759 // This can't be done in the die function, because then it's not possible to
You can’t perform that action at this time.
0 commit comments