fix everything breaking
This commit is contained in:
parent
262d6fe733
commit
0e8cebd3bb
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue