Check that controller still exists before showing (#452)

* Check that controller still exists before showing
This commit is contained in:
jacobcolbert
2019-04-27 00:30:53 -04:00
committed by Ilya Grigorik
parent a159fa4013
commit 4b112362f4

View File

@@ -415,7 +415,9 @@
if (e && !(targetController == controller)) { if (e && !(targetController == controller)) {
return; return;
} }
if(controller){
showController(controller); showController(controller);
}
if (!v.classList.contains('vsc-cancelled')) { if (!v.classList.contains('vsc-cancelled')) {
if (action === 'rewind') { if (action === 'rewind') {