From 4b112362f42e44d6c21cd1b68a22e95f9f930016 Mon Sep 17 00:00:00 2001 From: jacobcolbert Date: Sat, 27 Apr 2019 00:30:53 -0400 Subject: [PATCH] Check that controller still exists before showing (#452) * Check that controller still exists before showing --- inject.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/inject.js b/inject.js index 0fd73cb..4338885 100644 --- a/inject.js +++ b/inject.js @@ -415,7 +415,9 @@ if (e && !(targetController == controller)) { return; } - showController(controller); + if(controller){ + showController(controller); + } if (!v.classList.contains('vsc-cancelled')) { if (action === 'rewind') {