From 0e8cebd3bbd601ea98c40d3d02b3af671218f2da Mon Sep 17 00:00:00 2001 From: elijahr2411 Date: Fri, 10 Feb 2023 09:07:09 -0500 Subject: [PATCH] fix everything breaking --- src/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.js b/src/index.js index c66a2c6..c7c7981 100644 --- a/src/index.js +++ b/src/index.js @@ -709,9 +709,9 @@ function addUserDropdownItem(ul, text, func) { async function openVM(url, node) { if (connected) return; connected = true; - var vm = vms.find(v => v.url === url); + var _vm = vms.find(v => v.url === url); var token = null; - if (vm.captcha !== false) { + if (_vm.captcha !== false) { token = await doCaptcha(vm.captcha); } window.location.href = "#" + node;